search for: eab4d93

Displaying 1 result from an estimated 1 matches for "eab4d93".

Did you mean: da64d93
2012 May 27
1
[klibc:master] kinit: Fix capabilities alternate read/ write io without flush
...abilities 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_...