- Fixed warnings in selinux patch (bug #203166).

This commit is contained in:
Tim Waugh 2006-08-24 15:56:51 +00:00
parent 0e3de1d0e4
commit 01672f838b
2 changed files with 3 additions and 2 deletions

View File

@ -1863,7 +1863,7 @@
+ if(secure) + if(secure)
+ if (getfilecon(filename,&scontext)<0) { + if (getfilecon(filename,&scontext)<0) {
+ perror (filename); + perror (filename);
+ return; + return false;
+ } + }
+#endif +#endif
@ -2079,7 +2079,7 @@
\n\ \n\
"), stdout); "), stdout);
+#ifdef WITH_SELINUX +#ifdef WITH_SELINUX
+ printf (_("\ + fputs (_("\
+ -Z, --context=CONTEXT set security context (quoted string)\n\ + -Z, --context=CONTEXT set security context (quoted string)\n\
+"), stdout); +"), stdout);
+#endif +#endif

View File

@ -281,6 +281,7 @@ fi
%changelog %changelog
* Thu Aug 24 2006 Tim Waugh <twaugh@redhat.com> * Thu Aug 24 2006 Tim Waugh <twaugh@redhat.com>
- Fixed warnings in selinux patch (bug #203166).
- Fixed warnings in acl patch (bug #203166). - Fixed warnings in acl patch (bug #203166).
* Wed Aug 23 2006 Tim Waugh <twaugh@redhat.com> 5.97-8 * Wed Aug 23 2006 Tim Waugh <twaugh@redhat.com> 5.97-8