search for: _statbuf_st_nsec

Displaying 20 results from an estimated 27 matches for "_statbuf_st_nsec".

2013 Oct 09
0
[PATCH 1/1] Porting klibc to AArch64
..._t __gregs[23]; uint64_t __fpregs[8]; }; diff --git a/usr/include/arch/aarch64/klibc/archstat.h b/usr/include/arch/aarch64/klibc/archstat.h index 451a370..a7c854d 100644 --- a/usr/include/arch/aarch64/klibc/archstat.h +++ b/usr/include/arch/aarch64/klibc/archstat.h @@ -6,21 +6,26 @@ #define _STATBUF_ST_NSEC struct stat { - __stdev64 (st_dev); - unsigned long st_ino; - unsigned long st_nlink; - unsigned int st_mode; - unsigned int st_uid; - unsigned int st_gid; - unsigned int __pad1; - __stdev64 (st_rdev); - unsigned long st_size; - struct time...
2023 Jan 13
0
[klibc:master] mips64: Fix struct stat layout
..., 5 deletions(-) diff --git a/usr/include/arch/mips64/klibc/archstat.h b/usr/include/arch/mips64/klibc/archstat.h index 2dbb907c..16f50c9e 100644 --- a/usr/include/arch/mips64/klibc/archstat.h +++ b/usr/include/arch/mips64/klibc/archstat.h @@ -3,8 +3,6 @@ #include <sys/types.h> -#define _STATBUF_ST_NSEC - struct stat { unsigned int st_dev; unsigned int st_pad0[3]; /* Reserved for st_dev expansion */ @@ -22,9 +20,14 @@ struct stat { off_t st_size; - struct timespec st_atim; - struct timespec st_mtim; - struct timespec st_ctim; + unsigned int st_atime; + unsigned int st_atimensec...
2013 Nov 12
0
[klibc:master] arm64: Fix struct stat
...21 deletions(-) diff --git a/usr/include/arch/arm64/klibc/archstat.h b/usr/include/arch/arm64/klibc/archstat.h index a1a3e79..f5bfa80 100644 --- a/usr/include/arch/arm64/klibc/archstat.h +++ b/usr/include/arch/arm64/klibc/archstat.h @@ -3,27 +3,26 @@ #include <klibc/stathelp.h> +#define _STATBUF_ST_NSEC + struct stat { - unsigned long st_dev; /* Device. */ - unsigned long st_ino; /* File serial number. */ - unsigned int st_mode; /* File mode. */ - unsigned int st_nlink; /* Link count. */ - unsigned int st_u...
2006 May 11
0
[patch] klibc: merge s390 and s390x
...f /* _SETJMP_H */ diff -purN a/usr/include/arch/s390/klibc/archstat.h b/usr/include/arch/s390/klibc/archstat.h --- a/usr/include/arch/s390/klibc/archstat.h 2006-05-11 08:09:08.000000000 +0200 +++ b/usr/include/arch/s390/klibc/archstat.h 2006-05-11 08:10:07.000000000 +0200 @@ -5,6 +5,8 @@ #define _STATBUF_ST_NSEC +#ifndef __s390x__ + /* This matches struct stat64 in glibc2.1, hence the absolutely * insane amounts of padding around dev_t's. */ @@ -30,4 +32,25 @@ struct stat { unsigned long long st_ino; }; +#else /* __s390x__ */ + +struct stat { + __stdev64 (st_dev); + unsigned long st_...
2006 May 24
1
[patch] klibc: merge s390/s390x 2nd try
.../* _SETJMP_H */ diff -purN a/usr/include/arch/s390/klibc/archstat.h b/usr/include/arch/s390/klibc/archstat.h --- a/usr/include/arch/s390/klibc/archstat.h 2006-05-24 15:19:12.000000000 +0200 +++ b/usr/include/arch/s390/klibc/archstat.h 2006-05-24 13:02:18.000000000 +0200 @@ -5,6 +5,8 @@ #define _STATBUF_ST_NSEC +#ifndef __s390x__ + /* This matches struct stat64 in glibc2.1, hence the absolutely * insane amounts of padding around dev_t's. */ @@ -30,4 +32,25 @@ struct stat { unsigned long long st_ino; }; +#else /* __s390x__ */ + +struct stat { + __stdev64 (st_dev); + unsigned long st_...
2019 Jan 18
0
[klibc:master] arch: Remove m32r port
...clude/arch/m32r/klibc/archstat.h b/usr/include/arch/m32r/klibc/archstat.h deleted file mode 100644 index 09d3ade..0000000 --- a/usr/include/arch/m32r/klibc/archstat.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef _KLIBC_ARCHSTAT_H -#define _KLIBC_ARCHSTAT_H - -#include <klibc/stathelp.h> - -#define _STATBUF_ST_NSEC - -/* This matches struct stat64 in glibc2.1, hence the absolutely - * insane amounts of padding around dev_t's. - */ -struct stat { - __stdev64 (st_dev); - unsigned char __pad0[4]; - - unsigned long __st_ino; - - unsigned int st_mode; - unsigned int st_nlink; - - unsigned long st_uid; - unsign...
2006 Jun 26
0
[klibc 26/43] m32r support for klibc
...r/include/arch/m32r/klibc/archstat.h b/usr/include/arch/m32r/klibc/archstat.h new file mode 100644 index 0000000..09d3ade --- /dev/null +++ b/usr/include/arch/m32r/klibc/archstat.h @@ -0,0 +1,39 @@ +#ifndef _KLIBC_ARCHSTAT_H +#define _KLIBC_ARCHSTAT_H + +#include <klibc/stathelp.h> + +#define _STATBUF_ST_NSEC + +/* This matches struct stat64 in glibc2.1, hence the absolutely + * insane amounts of padding around dev_t's. + */ +struct stat { + __stdev64 (st_dev); + unsigned char __pad0[4]; + + unsigned long __st_ino; + + unsigned int st_mode; + unsigned int st_nlink; + + unsigned long st_uid; + unsign...
2006 Jun 26
0
[klibc 34/43] sh support for klibc
...t a/usr/include/arch/sh/klibc/archstat.h b/usr/include/arch/sh/klibc/archstat.h new file mode 100644 index 0000000..f4c65ea --- /dev/null +++ b/usr/include/arch/sh/klibc/archstat.h @@ -0,0 +1,38 @@ +#ifndef _KLIBC_ARCHSTAT_H +#define _KLIBC_ARCHSTAT_H + +#include <klibc/stathelp.h> + +#define _STATBUF_ST_NSEC + +/* This matches struct stat64 in glibc2.1, hence the absolutely + * insane amounts of padding around dev_t's. + */ +struct stat64 { + __stdev64 (st_dev); + unsigned char __pad0[4]; + + unsigned long st_ino; + unsigned int st_mode; + unsigned int st_nlink; + + unsigned long st_uid; + unsigned...
2006 Jun 26
0
[klibc 36/43] sparc64 support for klibc
.../arch/sparc64/klibc/archstat.h b/usr/include/arch/sparc64/klibc/archstat.h new file mode 100644 index 0000000..56fb2a4 --- /dev/null +++ b/usr/include/arch/sparc64/klibc/archstat.h @@ -0,0 +1,30 @@ +#ifndef _KLIBC_ARCHSTAT_H +#define _KLIBC_ARCHSTAT_H + +#include <klibc/stathelp.h> + +#define _STATBUF_ST_NSEC + +struct stat { + __stdev64 (st_dev); + unsigned long st_ino; + unsigned long st_nlink; + + unsigned int st_mode; + unsigned int st_uid; + unsigned int st_gid; + unsigned int __pad0; + + __stdev64 (st_rdev); + long st_size; + long st_blksize; + long st_blocks; + + struct timespec st_atim; + str...
2018 Jul 17
1
[PATCH klibc 1/2] rename, renameat: Use renameat2() system call
New architectures only define the renameat2() system call, which was added in Linux 3.15. Define rename() and renameat() as wrappers for it if necessary. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -59,7 +59,8 @@ klib-y += vsnprintf.o snprintf.o vsprint inet/inet_ntoa.o inet/inet_aton.o inet/inet_addr.o \
2006 Jun 26
0
[klibc 27/43] m68k support for klibc
...r/include/arch/m68k/klibc/archstat.h b/usr/include/arch/m68k/klibc/archstat.h new file mode 100644 index 0000000..dce25f9 --- /dev/null +++ b/usr/include/arch/m68k/klibc/archstat.h @@ -0,0 +1,38 @@ +#ifndef _KLIBC_ARCHSTAT_H +#define _KLIBC_ARCHSTAT_H + +#include <klibc/stathelp.h> + +#define _STATBUF_ST_NSEC + +/* This matches struct stat64 in glibc2.1, hence the absolutely + * insane padding around dev_t's. + */ +struct stat { + __stdev64 (st_dev); + unsigned char __pad1[2]; + + unsigned long __st_ino; + + unsigned int st_mode; + unsigned int st_nlink; + + unsigned long st_uid; + unsigned long st_...
2006 Jun 26
0
[klibc 30/43] parisc support for klibc
...ude/arch/parisc/klibc/archstat.h b/usr/include/arch/parisc/klibc/archstat.h new file mode 100644 index 0000000..0b8ef8d --- /dev/null +++ b/usr/include/arch/parisc/klibc/archstat.h @@ -0,0 +1,29 @@ +#ifndef _KLIBC_ARCHSTAT_H +#define _KLIBC_ARCHSTAT_H + +#include <klibc/stathelp.h> + +#define _STATBUF_ST_NSEC + +struct stat { + __stdev64 (st_dev); + unsigned int __pad1; + + unsigned int __st_ino; /* Not actually filled in */ + unsigned int st_mode; + unsigned int st_nlink; + unsigned int st_uid; + unsigned int st_gid; + __stdev64 (st_rdev); + unsigned int __pad2; + signed long long st_size; + s...
2006 Jun 26
0
[klibc 31/43] ppc support for klibc
.../usr/include/arch/ppc/klibc/archstat.h b/usr/include/arch/ppc/klibc/archstat.h new file mode 100644 index 0000000..9e31f4a --- /dev/null +++ b/usr/include/arch/ppc/klibc/archstat.h @@ -0,0 +1,30 @@ +#ifndef _KLIBC_ARCHSTAT_H +#define _KLIBC_ARCHSTAT_H + +#include <klibc/stathelp.h> + +#define _STATBUF_ST_NSEC + +/* This matches struct stat64 in glibc2.1. + */ +struct stat { + __stdev64 (st_dev); /* Device. */ + unsigned long long st_ino; /* File serial number. */ + unsigned int st_mode; /* File mode. */ + unsigned int st_nlink; /* Link count. */ + unsigned int st_uid; /* User ID of the file's...
2006 Jun 26
0
[klibc 32/43] ppc64 support for klibc
...nclude/arch/ppc64/klibc/archstat.h b/usr/include/arch/ppc64/klibc/archstat.h new file mode 100644 index 0000000..491316c --- /dev/null +++ b/usr/include/arch/ppc64/klibc/archstat.h @@ -0,0 +1,27 @@ +#ifndef _KLIBC_ARCHSTAT_H +#define _KLIBC_ARCHSTAT_H + +#include <klibc/stathelp.h> + +#define _STATBUF_ST_NSEC + +struct stat { + __stdev64 (st_dev); + ino_t st_ino; + nlink_t st_nlink; + mode_t st_mode; + uid_t st_uid; + gid_t st_gid; + __stdev64 (st_rdev); + off_t st_size; + unsigned long st_blksize; + unsigned long st_blocks; + struct timespec st_atim; /* Time of last access. */ + struct tim...
2006 Jun 26
0
[klibc 33/43] s390 support for klibc
...r/include/arch/s390/klibc/archstat.h b/usr/include/arch/s390/klibc/archstat.h new file mode 100644 index 0000000..de3a9da --- /dev/null +++ b/usr/include/arch/s390/klibc/archstat.h @@ -0,0 +1,56 @@ +#ifndef _KLIBC_ARCHSTAT_H +#define _KLIBC_ARCHSTAT_H + +#include <klibc/stathelp.h> + +#define _STATBUF_ST_NSEC + +#ifndef __s390x__ + +/* This matches struct stat64 in glibc2.1, hence the absolutely + * insane amounts of padding around dev_t's. + */ +struct stat { + __stdev64 (st_dev); + unsigned int __pad1; +#define STAT64_HAS_BROKEN_ST_INO 1 + unsigned long __st_ino; +...
2011 Aug 08
0
[PATCH/RFC] Add initial avr32 port
...nclude/arch/avr32/klibc/archstat.h b/usr/include/arch/avr32/klibc/archstat.h new file mode 100644 index 0000000..347c4a0 --- /dev/null +++ b/usr/include/arch/avr32/klibc/archstat.h @@ -0,0 +1,40 @@ +#ifndef _KLIBC_ARCHSTAT_H +#define _KLIBC_ARCHSTAT_H + +#include <klibc/stathelp.h> + +#define _STATBUF_ST_NSEC + +/* This matches struct stat64 in glibc2.1, hence the absolutely + * insane amounts of padding around dev_t's. + * Note: The kernel zero's the padded region because glibc might read them + * in the hope that the kernel has stretched to using larger sizes. + */ + +struct stat { + __stdev64...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at:
2006 Jun 26
0
[klibc 23/43] cris support for klibc
...r/include/arch/cris/klibc/archstat.h b/usr/include/arch/cris/klibc/archstat.h new file mode 100644 index 0000000..09d3ade --- /dev/null +++ b/usr/include/arch/cris/klibc/archstat.h @@ -0,0 +1,39 @@ +#ifndef _KLIBC_ARCHSTAT_H +#define _KLIBC_ARCHSTAT_H + +#include <klibc/stathelp.h> + +#define _STATBUF_ST_NSEC + +/* This matches struct stat64 in glibc2.1, hence the absolutely + * insane amounts of padding around dev_t's. + */ +struct stat { + __stdev64 (st_dev); + unsigned char __pad0[4]; + + unsigned long __st_ino; + + unsigned int st_mode; + unsigned int st_nlink; + + unsigned long st_uid; + unsign...
2020 Apr 30
0
[klibc:master] arch: Remove cris port
...ude/arch/cris/klibc/archstat.h b/usr/include/arch/cris/klibc/archstat.h deleted file mode 100644 index 09d3adec..00000000 --- a/usr/include/arch/cris/klibc/archstat.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef _KLIBC_ARCHSTAT_H -#define _KLIBC_ARCHSTAT_H - -#include <klibc/stathelp.h> - -#define _STATBUF_ST_NSEC - -/* This matches struct stat64 in glibc2.1, hence the absolutely - * insane amounts of padding around dev_t's. - */ -struct stat { - __stdev64 (st_dev); - unsigned char __pad0[4]; - - unsigned long __st_ino; - - unsigned int st_mode; - unsigned int st_nlink; - - unsigned long st_uid; - unsign...
2006 Jun 26
0
[klibc 22/43] arm support for klibc
.../usr/include/arch/arm/klibc/archstat.h b/usr/include/arch/arm/klibc/archstat.h new file mode 100644 index 0000000..95bbc9e --- /dev/null +++ b/usr/include/arch/arm/klibc/archstat.h @@ -0,0 +1,40 @@ +#ifndef _KLIBC_ARCHSTAT_H +#define _KLIBC_ARCHSTAT_H + +#include <klibc/stathelp.h> + +#define _STATBUF_ST_NSEC + +/* This matches struct stat64 in glibc2.1, hence the absolutely + * insane amounts of padding around dev_t's. + * Note: The kernel zero's the padded region because glibc might read them + * in the hope that the kernel has stretched to using larger sizes. + */ + +struct stat { + __stdev64...