OpenCoverage

mkfifo.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/mkfifo.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9static struct option const longopts[] =-
10{-
11 {"context", -
12 2-
13 , -
14 ((void *)0)-
15 , 'Z'},-
16 {"mode", -
17 1-
18 , -
19 ((void *)0)-
20 , 'm'},-
21 {"help", -
22 0-
23 , -
24 ((void *)0)-
25 , GETOPT_HELP_CHAR},-
26 {"version", -
27 0-
28 , -
29 ((void *)0)-
30 , GETOPT_VERSION_CHAR},-
31 {-
32 ((void *)0)-
33 , 0, -
34 ((void *)0)-
35 , 0}-
36};-
37-
38void-
39usage (int status)-
40{-
41 if (status !=
status != 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • mkfifo
FALSEevaluated 2 times by 1 test
Evaluated by:
  • mkfifo
1-2
42 0
status != 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • mkfifo
FALSEevaluated 2 times by 1 test
Evaluated by:
  • mkfifo
1-2
43 )-
44 do { fprintf (-
45 stderr-
46 , -
47 dcgettext (((void *)0), -
48 "Try '%s --help' for more information.\n"-
49 , 5)-
50 , program_name); }
executed 1 time by 1 test: end of block
Executed by:
  • mkfifo
while (0);
1
51 else-
52 {-
53 printf (-
54 dcgettext (((void *)0), -
55 "Usage: %s [OPTION]... NAME...\n"-
56 , 5)-
57 , program_name);-
58 fputs_unlocked (-
59 dcgettext (((void *)0), -
60 "Create named pipes (FIFOs) with the given NAMEs.\n"-
61 , 5)-
62 ,-
63 stdout-
64 )-
65-
66 ;-
67-
68 emit_mandatory_arg_note ();-
69-
70 fputs_unlocked (-
71 dcgettext (((void *)0), -
72 " -m, --mode=MODE set file permission bits to MODE, not a=rw - umask\n"-
73 , 5)-
74 ,-
75 stdout-
76 )-
77-
78 ;-
79 fputs_unlocked (-
80 dcgettext (((void *)0), -
81 " -Z set the SELinux security context to default type\n --context[=CTX] like -Z, or if CTX is specified then set the SELinux\n or SMACK security context to CTX\n"-
82 , 5)-
83 ,-
84 stdout-
85 )-
86-
87-
88-
89 ;-
90 fputs_unlocked (-
91 dcgettext (((void *)0), -
92 " --help display this help and exit\n"-
93 , 5)-
94 ,-
95 stdout-
96 );-
97 fputs_unlocked (-
98 dcgettext (((void *)0), -
99 " --version output version information and exit\n"-
100 , 5)-
101 ,-
102 stdout-
103 );-
104 emit_ancillary_info ("mkfifo");-
105 }
executed 2 times by 1 test: end of block
Executed by:
  • mkfifo
2
106 exit (status);
executed 3 times by 1 test: exit (status);
Executed by:
  • mkfifo
3
107}-
108-
109int-
110main (int argc, char **argv)-
111{-
112 mode_t newmode;-
113 char const *specified_mode = -
114 ((void *)0)-
115 ;-
116 int exit_status = -
117 0-
118 ;-
119 int optc;-
120 char const *scontext = -
121 ((void *)0)-
122 ;-
123 -
124 _Bool -
125 set_security_context = -
126 0-
127 ;-
128-
129 ;-
130 set_program_name (argv[0]);-
131 setlocale (-
132 6-
133 , "");-
134 bindtextdomain ("coreutils", "/usr/local/share/locale");-
135 textdomain ("coreutils");-
136-
137 atexit (close_stdout);-
138-
139 while ((
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 7 times by 1 test
Evaluated by:
  • mkfifo
FALSEevaluated 2 times by 1 test
Evaluated by:
  • mkfifo
optc = getopt_long (argc, argv, "m:Z", longopts,
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 7 times by 1 test
Evaluated by:
  • mkfifo
FALSEevaluated 2 times by 1 test
Evaluated by:
  • mkfifo
2-7
140 ((void *)0)
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 7 times by 1 test
Evaluated by:
  • mkfifo
FALSEevaluated 2 times by 1 test
Evaluated by:
  • mkfifo
2-7
141 )) != -1
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 7 times by 1 test
Evaluated by:
  • mkfifo
FALSEevaluated 2 times by 1 test
Evaluated by:
  • mkfifo
)
2-7
142 {-
143 switch (optc)-
144 {-
145 case
never executed: case 'm':
'm':
never executed: case 'm':
0
146 specified_mode = optarg;-
147 break;
never executed: break;
0
148 case
never executed: case 'Z':
'Z':
never executed: case 'Z':
0
149 if (is_smack_enabled ()
is_smack_enabled ()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
150 {-
151-
152 scontext = optarg;-
153 }
never executed: end of block
0
154 else if (is_selinux_enabled () > 0
is_selinux_enabled () > 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
155 {-
156 if (optarg
optargDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
157 scontext = optarg;
never executed: scontext = optarg;
0
158 else-
159 set_security_context =
never executed: set_security_context = 1 ;
0
160 1
never executed: set_security_context = 1 ;
0
161 ;
never executed: set_security_context = 1 ;
0
162 }-
163 else if (optarg
optargDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
164 {-
165 error (0, 0,-
166 -
167 dcgettext (((void *)0), -
168 "warning: ignoring --context; " "it requires an SELinux/SMACK-enabled kernel"-
169 , 5)-
170 -
171 );-
172 }
never executed: end of block
0
173 break;
never executed: break;
0
174 case
executed 2 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • mkfifo
GETOPT_HELP_CHAR:
executed 2 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • mkfifo
usage (
2
175 0-
176 ); break;
never executed: break;
;
0
177 case
executed 4 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • mkfifo
GETOPT_VERSION_CHAR:
executed 4 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • mkfifo
version_etc (
4
178 stdout-
179 , "mkfifo", "GNU coreutils", Version, ("David MacKenzie"), (char *) -
180 ((void *)0)-
181 ); exit (
executed 4 times by 1 test: exit ( 0 );
Executed by:
  • mkfifo
4
182 0
executed 4 times by 1 test: exit ( 0 );
Executed by:
  • mkfifo
4
183 );
executed 4 times by 1 test: exit ( 0 );
Executed by:
  • mkfifo
break;
never executed: break;
;
0-4
184 default
executed 1 time by 1 test: default:
Executed by:
  • mkfifo
:
executed 1 time by 1 test: default:
Executed by:
  • mkfifo
1
185 usage (-
186 1-
187 );-
188 }
never executed: end of block
0
189 }-
190-
191 if (optind == argc
optind == argcDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • mkfifo
)
0-2
192 {-
193 error (0, 0, -
194 dcgettext (((void *)0), -
195 "missing operand"-
196 , 5)-
197 );-
198 usage (-
199 1-
200 );-
201 }
never executed: end of block
0
202-
203 if (scontext
scontextDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • mkfifo
)
0-2
204 {-
205 int ret = 0;-
206 if (is_smack_enabled ()
is_smack_enabled ()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
207 ret = smack_set_label_for_self (scontext);
never executed: ret = smack_set_label_for_self (scontext);
0
208 else-
209 ret = setfscreatecon (se_const (scontext));
never executed: ret = setfscreatecon (se_const (scontext));
0
210-
211 if (ret < 0
ret < 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
212 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
213 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
214 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
215 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
216 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
217 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
218 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
219 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
220 "failed to set default file creation context to %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
221 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
222 , quote (scontext)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
223 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
224 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
225 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
226 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
227 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
228 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
229 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
230 "failed to set default file creation context to %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
231 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
232 , quote (scontext)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
233 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
234 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2350
236 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to set default file creation context to %s\", 5), quote (scontext)), assume (false))" ")"); int _gl_dummy; })) ? ((erro... (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to set default file creation context to %s" , 5) , quote (scontext)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
237 }
never executed: end of block
0
238-
239 newmode = (-
240 0400 -
241 | -
242 0200 -
243 | -
244 (0400 >> 3) -
245 | -
246 (0200 >> 3) -
247 | -
248 ((0400 >> 3) >> 3) -
249 | -
250 ((0200 >> 3) >> 3)-
251 );-
252 if (specified_mode
specified_modeDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • mkfifo
)
0-2
253 {-
254 mode_t umask_value;-
255 struct mode_change *change = mode_compile (specified_mode);-
256 if (!change
!changeDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
257 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
258 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
259 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
260 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
261 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
262 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
263 "invalid mode"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
264 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
265 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
266 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
267 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
268 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
269 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
270 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
271 "invalid mode"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
272 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
273 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
274 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
275 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid mode\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid mode" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
276 umask_value = umask (0);-
277 umask (umask_value);-
278 newmode = mode_adjust (newmode, -
279 0-
280 , umask_value, change, -
281 ((void *)0)-
282 );-
283 free (change);-
284 if (newmode & ~
newmode & ~ ((...) >> 3) >> 3))Description
TRUEnever evaluated
FALSEnever evaluated
0
285 ((0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3))
newmode & ~ ((...) >> 3) >> 3))Description
TRUEnever evaluated
FALSEnever evaluated
0
286 )-
287 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
288 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
289 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
290 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
291 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
292 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
293 "mode must specify only file permission bits"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
294 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
295 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
296 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
297 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
298 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
299 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
300 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
301 "mode must specify only file permission bits"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
302 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
303 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
304 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
305 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
306 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"mode must specify only file permission bits\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "mode must specify only file permission bits" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
307 }
never executed: end of block
0
308-
309 for (; optind < argc
optind < argcDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • mkfifo
FALSEevaluated 2 times by 1 test
Evaluated by:
  • mkfifo
; ++optind)
2
310 {-
311 if (set_security_context
set_security_contextDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • mkfifo
)
0-2
312 defaultcon (argv[optind],
never executed: defaultcon (argv[optind], 0010000 );
0
313 0010000
never executed: defaultcon (argv[optind], 0010000 );
0
314 );
never executed: defaultcon (argv[optind], 0010000 );
0
315 if (mkfifo (argv[optind], newmode) != 0
mkfifo (argv[o... newmode) != 0Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • mkfifo
)
0-2
316 {-
317 error (0, -
318 (*__errno_location ())-
319 , -
320 dcgettext (((void *)0), -
321 "cannot create fifo %s"-
322 , 5)-
323 , quotearg_style (shell_escape_always_quoting_style, argv[optind]));-
324 exit_status = -
325 1-
326 ;-
327 }
never executed: end of block
0
328 else if (specified_mode
specified_modeDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • mkfifo
&&
0-2
329 chmod
chmod (argv[op... newmode) != 0Description
TRUEnever evaluated
FALSEnever evaluated
0
330 (argv[optind], newmode) != 0
chmod (argv[op... newmode) != 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
331 {-
332 error (0, -
333 (*__errno_location ())-
334 , -
335 dcgettext (((void *)0), -
336 "cannot set permissions of %s"-
337 , 5)-
338 ,-
339 quotearg_style (shell_escape_always_quoting_style, argv[optind]));-
340 exit_status = -
341 1-
342 ;-
343 }
never executed: end of block
0
344 }
executed 2 times by 1 test: end of block
Executed by:
  • mkfifo
2
345-
346 return
executed 2 times by 1 test: return exit_status;
Executed by:
  • mkfifo
exit_status;
executed 2 times by 1 test: return exit_status;
Executed by:
  • mkfifo
2
347}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2