search for: c606144

Displaying 2 results from an estimated 2 matches for "c606144".

Did you mean: 0.06144
2012 May 27
1
[klibc:master] kinit: Fix capabilities alternate read/ write io without flush
...alternate read/write io without flush Just fseek back to the start. Signed-off-by: maximilian attems <max at stro.at> --- usr/kinit/capabilities.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/usr/kinit/capabilities.c b/usr/kinit/capabilities.c index eab4d93..c606144 100644 --- a/usr/kinit/capabilities.c +++ b/usr/kinit/capabilities.c @@ -167,6 +167,9 @@ static void do_usermodehelper_file(const char *filename, int cap_ordinal) hi32 &= ~(1 << (cap_ordinal - 32)); /* Commit the new bit masks to the kernel */ + ret = fseek(file, 0L, SEEK_SET); + i...
2012 May 29
0
[klibc:master] capabilities: Use fflush() instead of fseek ()
...sh() has error checking. Reported-by: H. Peter Anvin <hpa at zytor.com> Signed-off-by: maximilian attems <max at stro.at> --- usr/kinit/capabilities.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/kinit/capabilities.c b/usr/kinit/capabilities.c index c606144..2c61025 100644 --- a/usr/kinit/capabilities.c +++ b/usr/kinit/capabilities.c @@ -167,9 +167,9 @@ static void do_usermodehelper_file(const char *filename, int cap_ordinal) hi32 &= ~(1 << (cap_ordinal - 32)); /* Commit the new bit masks to the kernel */ - ret = fseek(file, 0L, SEEK_...