setfiles -c is failing do to bad checking on options.
setfiles/setfiles.c +0 -2
@@ -858,8 +858,6 @@if (strcmp (input_filename,"-" ) !=0 )fclose (f); }else { -if (optind >= argc) -usage (argv[0 ]);for (i = optind; i < argc; i++) { errors |=process_one (argv[i]); }
setfiles/setfiles.c line 863
Quoted 13 lines · Daniel J Walsh
plain text document attachment (diff)
diff --exclude-from=exclude --exclude=sepolgen-1.0.8 --exclude=gui --exclude=po -N -u -rnsapolicycoreutils/setfiles/setfiles.cpolicycoreutils-2.0.19/setfiles/setfiles.csetfiles/setfiles.c +0
-2@@ -858,8 +858,6 @@if (strcmp (input_filename,"-" ) !=0 )fclose (f); }else { -if (optind >= argc) -usage (argv[0 ]);for (i = optind; i < argc; i++) { errors |=process_one (argv[i]); }
Thanks, merged. Only affects trunk, as this was due to the merger of setfiles and restorecon into a single program.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.