Displaying 8 results from an estimated 8 matches for "open_cloexec".
2016 Jan 15
0
[klibc:master] Remove open_cloexec()
...org/?p=libs/klibc/klibc.git;a=commit;h=26e26f48cf9255c44514b8d36e351ecf3c6260b2
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Fri, 15 Jan 2016 11:30:01 -0800
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Fri, 15 Jan 2016 11:30:01 -0800
[klibc] Remove open_cloexec()
The kernel now (since 2.6.23) allows O_CLOEXEC to be passed directly
to open(), so there is no reason to have open_cloexec() anymore.
Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>
---
usr/include/unistd.h | 1 -
usr/kinit/initrd.c | 4 ++--
usr/klibc/Kbuild...
2011 Feb 27
4
[PATCH] Add minimal mkstemp(3) implementation.
...dex af40367..62a3268 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -18,7 +18,7 @@ klib-y := vsnprintf.o snprintf.o vsprintf.o sprintf.o \
setpgrp.o getpgrp.o daemon.o \
printf.o vprintf.o fprintf.o vfprintf.o perror.o \
statfs.o fstatfs.o umount.o \
- creat.o open.o openat.o open_cloexec.o \
+ creat.o mkstemp.o open.o openat.o open_cloexec.o \
fopen.o fread.o fread2.o fgetc.o fgets.o \
fwrite.o fwrite2.o fputc.o fputs.o puts.o putchar.o \
sleep.o usleep.o strtotimespec.o strtotimeval.o \
diff --git a/usr/klibc/mkstemp.c b/usr/klibc/mkstemp.c
new file mode 100644
index...
2010 Apr 16
0
[PATCH] add minimal faccessat()
.../klibc/Kbuild b/usr/klibc/Kbuild
index ab5212b..765052a 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -19,7 +19,7 @@ klib-y := vsnprintf.o snprintf.o vsprintf.o sprintf.o \
printf.o vprintf.o fprintf.o vfprintf.o perror.o \
statfs.o fstatfs.o umount.o \
creat.o open.o openat.o open_cloexec.o \
- fopen.o fread.o fread2.o fgetc.o fgets.o \
+ fopen.o fread.o fread2.o fgetc.o fgets.o faccessat.o \
fwrite.o fwrite2.o fputc.o fputs.o puts.o putchar.o \
sleep.o usleep.o strtotimespec.o strtotimeval.o \
raise.o abort.o assert.o alarm.o pause.o \
diff --git a/usr/klibc/SYSCALL...
2019 Jan 19
1
[ANNOUNCE] klibc 2.0.5
...bc] Inline __arch_libcinit()
[klibc] i386: remove special handling of socketcall
[klibc] Update README.klibc
[klibc] Remove obsolete getpt() function
[klibc] Remove sys/socketcalls.h
[klibc] Add accept4(), handle fallback from accept() to accept4()
[klibc] Remove open_cloexec()
[klibc] accept.c: fix file header
[klibc] Make posix_openpt() an inline
[klibc] stdlib.h: include <fcntl.h> for inline of posix_grantpt()
[klibc] Make asprintf() a simple wrapper around vasprintf()
[klibc] fwrite: flush before a large write to allow better bypa...
2011 Jan 29
2
another bugfix
Hi,
number three, where I first thought it was a GCC bug but is
apparently bad code in klibc. Submitted with permission:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47533#c6
Patch attached again (sorry) not just because that is easier
with my mail system but also to keep original author intact.
bye,
//mirabilos
--
> emacs als auch vi zum Kotzen finde (joe rules) und pine f?r den einzig
>
2007 Aug 15
0
[git patch] fstype support + minor stuff
...t.o atexit.o onexit.o \
- execl.o execle.o execv.o execvpe.o execvp.o execlp.o execlpe.o \
- fork.o vfork.o wait.o wait3.o waitpid.o system.o \
- setpgrp.o getpgrp.o daemon.o \
- printf.o vprintf.o fprintf.o vfprintf.o perror.o \
- statfs.o fstatfs.o umount.o \
- creat.o open.o openat.o open_cloexec.o \
- fopen.o fread.o fread2.o fgetc.o fgets.o \
- fwrite.o fwrite2.o fputc.o fputs.o puts.o putchar.o \
- sleep.o usleep.o strtotimespec.o strtotimeval.o \
- raise.o abort.o assert.o alarm.o pause.o \
- __signal.o sysv_signal.o bsd_signal.o siglist.o sigabbrev.o \
- siglongjmp.o \
-...
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...n/trunk/knl/linux/usr//include -I/root/gen/trunk/knl/linux/usr//arch/powerpc/include -D__KLIBC__=2 -D__KLIBC_MINOR__=0 -D_BITSIZE=32 -fno-stack-protector -fwrapv -m32 -Os -W -Wall -Wno-sign-compare -Wno-unused-parameter -c -o usr/klibc/openat.o usr/klibc/openat.c
ppc-linux-gcc -Wp,-MD,usr/klibc/.open_cloexec.o.d -nostdinc -iwithprefix include -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/arch/ppc -Iusr/include/arch/ppc -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/bits32 -Iusr/include/bits32 -I/root/ofs/trunk/packages/klibc-2.0.2/usr/klibc/../include -Iusr/klibc/../include -I/root/ofs/trunk/...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote:
> >
> Find attached two patches I have in order to build klibc 2.0.2
> against kernel 3.8.13
> We had to introduce those patches when going from kernel 3.6 to kernel 3.7
> Hope it helps.
>
those patches are wrong and again very brittle.
just use the way it is described in `make help':
A) cd ~/src/linux