Message ID | 1474737005-1907-1-git-send-email-william.c.roberts@intel.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
On Sat, Sep 24, 2016 at 10:10 AM, <william.c.roberts@intel.com> wrote: > From: William Roberts <william.c.roberts@intel.com> > > Nothing was being used from the stdio_ext.h header file, so > remove it. Additionally, Mac builds, required for the > Android build, do not have this header. > > Change-Id: Ic61c87fcda79ffebeef93a20a2b3802f048bb0b0 Rather thean resending this, I forgot to drop the change-id when I cherry-picked it, can you just ammend it? <snip>
On 09/24/2016 01:10 PM, william.c.roberts@intel.com wrote: > From: William Roberts <william.c.roberts@intel.com> > > Nothing was being used from the stdio_ext.h header file, so > remove it. Additionally, Mac builds, required for the > Android build, do not have this header. > > Change-Id: Ic61c87fcda79ffebeef93a20a2b3802f048bb0b0 > Signed-off-by: William Roberts <william.c.roberts@intel.com> Thanks, applied. However, technically this was because an earlier change from you dropped the use of __fsetlocking(), so we may need to restore this at some point if that becomes an issue. > --- > libselinux/src/label_file.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/libselinux/src/label_file.c b/libselinux/src/label_file.c > index 7156825..8ff1170 100644 > --- a/libselinux/src/label_file.c > +++ b/libselinux/src/label_file.c > @@ -10,7 +10,6 @@ > #include <stdarg.h> > #include <string.h> > #include <stdio.h> > -#include <stdio_ext.h> > #include <ctype.h> > #include <errno.h> > #include <limits.h> >
On Mon, Sep 26, 2016 at 8:05 AM, Stephen Smalley <sds@tycho.nsa.gov> wrote: > On 09/24/2016 01:10 PM, william.c.roberts@intel.com wrote: >> From: William Roberts <william.c.roberts@intel.com> >> >> Nothing was being used from the stdio_ext.h header file, so >> remove it. Additionally, Mac builds, required for the >> Android build, do not have this header. >> >> Change-Id: Ic61c87fcda79ffebeef93a20a2b3802f048bb0b0 >> Signed-off-by: William Roberts <william.c.roberts@intel.com> > > Thanks, applied. However, technically this was because an earlier change > from you dropped the use of __fsetlocking(), so we may need to restore > this at some point if that becomes an issue. Doubtful, unless its heavily threaded you wont see much of a change between the locking and unlocked variants. If do need to restore this, I think the approach would be create an selinux_fileio.c and .h file and hide all the platform deltas in there. > >> --- >> libselinux/src/label_file.c | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/libselinux/src/label_file.c b/libselinux/src/label_file.c >> index 7156825..8ff1170 100644 >> --- a/libselinux/src/label_file.c >> +++ b/libselinux/src/label_file.c >> @@ -10,7 +10,6 @@ >> #include <stdarg.h> >> #include <string.h> >> #include <stdio.h> >> -#include <stdio_ext.h> >> #include <ctype.h> >> #include <errno.h> >> #include <limits.h> >> > > _______________________________________________ > Selinux mailing list > Selinux@tycho.nsa.gov > To unsubscribe, send email to Selinux-leave@tycho.nsa.gov. > To get help, send an email containing "help" to Selinux-request@tycho.nsa.gov.
diff --git a/libselinux/src/label_file.c b/libselinux/src/label_file.c index 7156825..8ff1170 100644 --- a/libselinux/src/label_file.c +++ b/libselinux/src/label_file.c @@ -10,7 +10,6 @@ #include <stdarg.h> #include <string.h> #include <stdio.h> -#include <stdio_ext.h> #include <ctype.h> #include <errno.h> #include <limits.h>