search for: __kernel_off_t

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

Did you mean: __kernel_loff_t
2019 Jan 21
0
[klibc:master] fcntl: Fix struct flock for 32-bit architectures
...thorDate: Mon, 21 Jan 2019 03:39:34 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Mon, 21 Jan 2019 03:45:04 +0000 [klibc] fcntl: Fix struct flock for 32-bit architectures In Linux 2.6.30 the definition of struct flock stopped using off_t (which we define) in favour of __kernel_off_t. This meant we started using a 32-bit struct flock with 64-bit fcntl numbers. Disable the kernel's definition of struct flock and define it ourselves with 64-bit offsets. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/fcntl.h | 23 ++++++++++++++++++----- 1 fil...
2006 Dec 20
2
Patch to klibc to work with headers from make install_headers
Hi! Now that there are usable userspace headers, we should use the data from those. In this case, the workaround in usr/include/sys/types.h was missing some header definitions. Rather than adding the definitions, I figured that the most correct thing to do was to just use them from the kernel. Build tested on i386 and x86_64. Signed-Off-By: Jeff Bailey <jbailey at ubuntu.com> -- Jeff