History log of /src/sys/compat/linux32/common/linux32_stat.c |
Revision | | Date | Author | Comments |
1.18 |
| 25-Nov-2021 |
ryo | - Add compat_linux statx(2) syscall. - The AT_EMPTY_PATH processing from the modification of sys/compat/linux/common/linux_file64.c r1.63 has been separated, and made common to linux_statat(), so that it can be used not only by linux32_sys_fstatat64() but also by other *statat() variants.
|
1.17 |
| 18-Nov-2013 |
chs | implement the *at() syscalls. bring the unimplemented syscall list up to date.
|
1.16 |
| 04-Jun-2009 |
njoly | branches: 1.16.12; 1.16.22; 1.16.26; Add stat/lstat/fstat syscalls.
|
1.15 |
| 03-Jun-2009 |
njoly | Cleanup (no functional changes). Kill some unneeded variables and return stattement. Rename linux32_from_stat() to better bsd_to_linux32_stat64(). Fix some types.
|
1.14 |
| 03-Jun-2009 |
njoly | Fix inverted lst_ino/__lst_ino assignment in linux32_from_stat().
|
1.13 |
| 18-Mar-2009 |
cegger | bzero -> memset
|
1.12 |
| 19-Nov-2008 |
ad | branches: 1.12.4; Make the emulations, exec formats, coredump, NFS, and the NFS server into modules. By and large this commit:
- shuffles header files and ifdefs - splits code out where necessary to be modular - adds module glue for each of the components - adds/replaces hooks for things that can be installed at runtime
|
1.11 |
| 21-Mar-2008 |
ad | branches: 1.11.4; 1.11.6; 1.11.10; 1.11.12; 1.11.14; Catch up with descriptor handling changes. See kern_descrip.c revision 1.173 for details.
|
1.10 |
| 20-Dec-2007 |
dsl | branches: 1.10.6; Convert all the system call entry points from: int foo(struct lwp *l, void *v, register_t *retval) to: int foo(struct lwp *l, const struct foo_args *uap, register_t *retval) Fixup compat code to not write into 'uap' and (in some cases) to actually pass a correctly formatted 'uap' structure with the right name to the next routine. A few 'compat' routines that just call standard ones have been deleted. All the 'compat' code compiles (along with the kernels required to test build it). 98% done by automated scripts.
|
1.9 |
| 08-Dec-2007 |
dsl | branches: 1.9.4; ANSIfy most of the function definitions in sys/compat (but not ndis). All by the magic of sed ...
|
1.8 |
| 22-Apr-2007 |
dsl | branches: 1.8.6; 1.8.8; 1.8.16; Change the way that emulations locate files within the emulation root to avoid having to allocate space in the 'stackgap' - which is very LWP unfriendly. The additional code for non-emulation namei() is trivial, the reduction for the emulations is massive. The vnode for a processes emulation root is saved in the cwdi structure during process exec. If the emulation root the TRYEMULROOT flag are set, namei() will do an initial search for absolute pathnames in the emulation root, if that fails it will retry from the normal root. ".." at the emulation root will always go to the real root, even in the middle of paths and when expanding symlinks. Absolute symlinks found using absolute paths in the emulation root will be relative to the emulation root (so /usr/lib/xxx.so -> /lib/xxx.so links inside the emulation root don't need changing). If the root of the emulation would be returned (for an emulation lookup), then the real root is returned instead (matching the behaviour of emul_lookup, but being a cheap comparison here) so that programs that scan "../.." looking for the root dircetory don't loop forever. The target for symbolic links is no longer mangled (it used to get the CHECK_ALT_xxx() treatment, so could get /emul/xxx prepended). CHECK_ALT_xxx() are no more. Most of the change is deleting them, and adding TRYEMULROOT to the flags to NDINIT(). A lot of the emulation system call stubs could now be deleted.
|
1.7 |
| 18-Mar-2007 |
dsl | Change all the NETBSD32PTR64(SCARG(uap, xxx))) to SCARG_P32(uap, xxx).
|
1.6 |
| 16-Mar-2007 |
dsl | remove all the double (and triple) casts used to convert 32bit userspace pointers to and from 64bit kernel pointers. Instead use the defines NETBSD32PTR64(p32) to read a 32bit pointer and (the new) NETBSD32PTR32(p32,p64) to write a 32bit pointer throughout. The 32bit pointer is now a struct to enforce the above. amd64 (with linux emul) and sparc64 will both compile (when the arch stuff goes in soon), and amd64 still runs some i386 binaries.
|
1.5 |
| 11-Mar-2007 |
dsl | branches: 1.5.2; 1.5.4; Fix amd64 build for compat sys_stat() changes. This file isn't included in amd64:GENERIC
|
1.4 |
| 10-Mar-2007 |
dsl | Update all the compat stuff to not use the 'stackgap' for processing sys_stat() and friends, instead use do_sys_stat() and do_sys_fstat() that write the answer into a kernel buffer (on stack) that can be converted to the correct form and written the userspace. I've test compiled a few kernels, and tested i386 netbsd1.6 ls. Given I think I've fixed some bugs, it might be 50-50 with new ones.
|
1.3 |
| 04-Mar-2007 |
christos | branches: 1.3.2; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.2 |
| 09-Feb-2007 |
ad | branches: 1.2.2; Merge newlock2 to head.
|
1.1 |
| 09-Feb-2006 |
manu | branches: 1.1.2; 1.1.10; 1.1.16; 1.1.20; 1.1.22; Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so that the i386 license manager part of amd64 version of Fluent works.
While I'm here, add SysV IPC to COMPAT_LINUX/amd64
|
1.1.22.2 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.1.22.1 |
| 09-Feb-2006 |
rpaulo | file linux32_stat.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:46:03 +0000
|
1.1.20.1 |
| 30-Jan-2007 |
ad | Remove support for SA. Ok core@.
|
1.1.16.6 |
| 24-Mar-2008 |
yamt | sync with head.
|
1.1.16.5 |
| 21-Jan-2008 |
yamt | sync with head
|
1.1.16.4 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.1.16.3 |
| 26-Feb-2007 |
yamt | sync with head.
|
1.1.16.2 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.1.16.1 |
| 09-Feb-2006 |
yamt | file linux32_stat.c was added on branch yamt-lazymbuf on 2006-06-21 14:59:27 +0000
|
1.1.10.2 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.1.10.1 |
| 09-Feb-2006 |
simonb | file linux32_stat.c was added on branch simonb-timecounters on 2006-04-22 11:38:14 +0000
|
1.1.2.2 |
| 18-Feb-2006 |
yamt | sync with head.
|
1.1.2.1 |
| 09-Feb-2006 |
yamt | file linux32_stat.c was added on branch yamt-uio_vmspace on 2006-02-18 15:39:02 +0000
|
1.2.2.3 |
| 07-May-2007 |
yamt | sync with head.
|
1.2.2.2 |
| 24-Mar-2007 |
yamt | sync with head.
|
1.2.2.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.3.2.3 |
| 27-May-2007 |
ad | Sync with head.
|
1.3.2.2 |
| 10-Apr-2007 |
ad | Sync with head.
|
1.3.2.1 |
| 13-Mar-2007 |
ad | Sync with head.
|
1.5.4.2 |
| 29-Mar-2007 |
reinoud | Pullup to -current
|
1.5.4.1 |
| 18-Mar-2007 |
reinoud | First attempt to bring branch in sync with HEAD
|
1.5.2.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.8.16.1 |
| 26-Dec-2007 |
ad | Sync with head.
|
1.8.8.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.8.6.1 |
| 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
1.9.4.1 |
| 02-Jan-2008 |
bouyer | Sync with HEAD
|
1.10.6.2 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.10.6.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.11.14.1 |
| 18-Mar-2015 |
snj | Pull up following revision(s) (requested by joerg in ticket #1149): sys/compat/linux32/arch/amd64/syscalls.master: revisions 1.52, 1.53 via patch sys/compat/linux32/common/linux32_misc.c: revision 1.17 via patch sys/compat/linux32/common/linux32_stat.c: revision 1.14-1.16 via patch Fix inverted lst_ino/__lst_ino assignment in linux32_from_stat(). -- Cleanup (no functional changes). Kill some unneeded variables and return stattement. Rename linux32_from_stat() to better bsd_to_linux32_stat64(). Fix some types. Add stat/lstat/fstat syscalls. -- Add fstatfs syscall.
|
1.11.12.2 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.11.12.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.11.10.1 |
| 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
1.11.6.2 |
| 14-May-2008 |
wrstuden | Per discussion with ad, remove most of the #include <sys/sa.h> lines as they were including sa.h just for the type(s) needed for syscallargs.h.
Instead, create a new file, sys/satypes.h, which contains just the types needed for syscallargs.h. Yes, there's only one now, but that may change and it's probably more likely to change if it'd be difficult to handle. :-)
Per discussion with matt at n dot o, add an include of satypes.h to sigtypes.h. Upcall handlers are kinda signal handlers, and signalling is the header file that's already included for syscallargs.h that closest matches SA.
This shaves about 3000 lines off of the diff of the branch relative to the base. That also represents about 18% of the total before this checkin.
I think this reduction is very good thing.
|
1.11.6.1 |
| 10-May-2008 |
wrstuden | Initial checkin of re-adding SA. Everything except kern_sa.c compiles in GENERIC for i386. This is still a work-in-progress, but this checkin covers most of the mechanical work (changing signalling to be able to accomidate SA's process-wide signalling and re-adding includes of sys/sa.h and savar.h). Subsequent changes will be much more interesting.
Also, kern_sa.c has received partial cleanup. There's still more to do, though.
|
1.11.4.2 |
| 20-Jun-2009 |
yamt | sync with head
|
1.11.4.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.12.4.2 |
| 23-Jul-2009 |
jym | Sync with HEAD.
|
1.12.4.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.16.26.1 |
| 18-May-2014 |
rmind | sync with head
|
1.16.22.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.16.12.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|