Home | History | Annotate | Download | only in common
History log of /src/sys/compat/linux/common/linux_misc.h
RevisionDateAuthorComments
 1.34  01-Oct-2024  riastradh sys/compat/linux/common: Nix trailing whitespace, and one blank line.

No functional change intended.
 1.33  29-Jun-2024  christos From gsoc 2024: Implement faccessat2 and getcpu (Shivraz)
 1.32  12-May-2024  christos Add forward decl for procfs include.
 1.31  12-May-2024  christos fix whitespace
 1.30  12-May-2024  christos PR/58240: Ricardo Branco: Add missing limits
 1.29  18-Aug-2023  christos Add linux waitid(2) from GSoC 2023 (Theodore Preduta)
 1.28  29-Jul-2023  rin Add comment on packed attribution for struct linux_epoll_event on amd64.
NFC.
 1.27  28-Jul-2023  christos Add epoll(2) from Theodore Preduta as part of GSoC 2023
 1.26  03-May-2020  thorpej Always clear FUTEX_PRIVATE_FLAG for Linux processes. NetBSD-native futexes
exist in different namespace depending on FUTEX_PRIVATE_FLAG. This appears
not to be the case in Linux, and some futex users will mix private and non-
private ops on the same futex object. Provide a convenience wrapper that
puts this logic in one place witn a comment explaining why.

While here, move the Linux futex wrapper out of its own file and plop
it in linux_misc.c, which is where it lives in the linux32 module.
 1.25  31-Aug-2016  njoly Teach wait4 about WCONTINUED.
 1.24  18-Nov-2013  chs branches: 1.24.6;
implement the *at() syscalls.
bring the unimplemented syscall list up to date.
 1.23  22-Sep-2012  joerg branches: 1.23.2;
LINUX_RLIM_INFINITY doesn't fit into the value range for linux32, so
introduce a variant with correct value.
 1.22  13-Sep-2012  pooka Rename structure members to make the code compile in environments
where "linux" is #defined.
 1.21  30-May-2011  alnsn branches: 1.21.4; 1.21.14;
Add fadvise64 and fadvise64_64 syscalls to compat_linux and compat_linux32.
 1.20  02-Nov-2010  chs branches: 1.20.2;
personality() now interprets its parameter as having
the base personality type in the low byte and
various flags in the upper bytes. for now just mask off
the flags to make sure the base type is one we accept.
store the current personality in the emuldata so that
we can return the expected value for PER_QUERY.
 1.19  19-Jan-2009  njoly branches: 1.19.4; 1.19.6;
Small personality(2) update.
- Allow querying current personality.
- Use symbolic names instead of magic values.
 1.18  11-Jan-2009  christos merge christos-time_t
 1.17  28-May-2008  njoly branches: 1.17.6;
Add LINUX_TMPFS_SUPER_MAGIC, and map it to our tmpfs.
This makes sem_open/sem_unlink (POSIX named semaphores) work under
NPTL emulation.
 1.16  28-Apr-2008  martin branches: 1.16.2;
Remove clause 3 and 4 from TNF licenses
 1.15  04-Dec-2007  dsl branches: 1.15.12; 1.15.14; 1.15.16; 1.15.18;
Remove all the __P
 1.14  07-May-2007  dsl branches: 1.14.6; 1.14.8; 1.14.14; 1.14.16;
Split sys_wait4() so that compat code can fiddle with the returned 'status'
and 'rusage' without having to copy data to/from stackgap buffers.
The old split (find_stopped_child) could be removed.
amd64 seems to run netbsd32, linux and linux32 emulations. sparc64 compiles.
 1.13  11-Dec-2005  christos branches: 1.13.26; 1.13.30; 1.13.32;
merge ktrace-lwp.
 1.12  03-May-2005  manu branches: 1.12.2;
First work on COMPAT_LINUX/amd64
Process startup and dynamiclinking work, but processes hang due to
Linux arch_prctl(2) not being really supported yet.
 1.11  13-Nov-2004  christos Add ptyfs magic number and entry.
 1.10  07-Oct-2004  erh PR kern/27184: Have linux_sys_waitpid() call linux_sys_wait4() so the
supported options can't get out of sync. This add support for the
linux __WCLONE and __WALL options (NetBSD version: WALTSIG and WALLSIG)
Add a diagnostic check to see if the one unhandled option (__WNOTHREAD) is
specified.
This should prevent linux processes from losing their children and creating
tons of zombie processes.
 1.9  20-Sep-2004  jdolecek implement support for Linux statfs64() syscall - 64bit variant of statfs()
 1.8  18-Jan-2003  thorpej branches: 1.8.2; 1.8.4;
Merge the nathanw_sa branch.
 1.7  20-Feb-2002  christos proper statfs emulation...
 1.6  15-Feb-2002  christos - add a real linux_sys___sysctl because the mib numbers are different.
implement only the kernel version getting entries.
- make the signal conversion functions consistent; dest is arg 1.
- make linux_fakedev deal with block and char devices differently.
- add linux_sys_ugetrlimit, and flesh out the regular get/setrlimit so
that they work properly.
- add linux_mmap2 [untested].
- bump kernel to 2.4.18, and make the date be valentine's day :-)
- linux_sys_*stat64 family was totally busted. Fix it.

tested only on i386.

Status:
gdb, telnet, work
jdk-1.4.0 extractor works, jdk still coredumps.

christos
 1.5  18-Jul-2001  thorpej Add support for the __WALL wait4(2) flag.
 1.4  13-Dec-2000  augustss branches: 1.4.2; 1.4.4;
Implement sysinfo.
 1.3  13-May-1999  thorpej branches: 1.3.2;
Define the flags used by the Linux wait4() system call.
 1.2  03-Oct-1998  christos branches: 1.2.8;
Attempt to fix the mess.
 1.1  01-Oct-1998  erh Add a couple function prototypes from linux_misc.c.
 1.2.8.1  21-Jun-1999  thorpej Sync w/ -current.
 1.3.2.1  05-Jan-2001  bouyer Sync with HEAD
 1.4.4.2  16-Mar-2002  jdolecek Catch up with -current.
 1.4.4.1  03-Aug-2001  lukem update to -current
 1.4.2.3  28-Feb-2002  nathanw Catch up to -current.
 1.4.2.2  24-Aug-2001  nathanw Catch up with -current.
 1.4.2.1  05-Mar-2001  nathanw Initial commit of scheduler activations and lightweight process support.
 1.8.4.1  12-Nov-2004  jmc Pullup rev 1.10 (requested by christos in ticket #950)

Prevent linux processes from losing their children and creating
tons of zombie processes.
 1.8.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.8.2.3  14-Nov-2004  skrll Sync with HEAD.
 1.8.2.2  19-Oct-2004  skrll Sync with HEAD
 1.8.2.1  24-Sep-2004  skrll Sync with HEAD.
 1.12.2.2  07-Dec-2007  yamt sync with head
 1.12.2.1  03-Sep-2007  yamt sync with head.
 1.13.32.1  11-Jul-2007  mjf Sync with head.
 1.13.30.1  27-May-2007  ad Sync with head.
 1.13.26.1  17-May-2007  yamt sync with head.
 1.14.16.1  08-Dec-2007  ad Sync with head.
 1.14.14.1  08-Dec-2007  mjf Sync with HEAD.
 1.14.8.1  09-Jan-2008  matt sync with HEAD
 1.14.6.1  09-Dec-2007  jmcneill Sync with HEAD.
 1.15.18.2  04-May-2009  yamt sync with head.
 1.15.18.1  16-May-2008  yamt sync with head.
 1.15.16.2  04-Jun-2008  yamt sync with head
 1.15.16.1  18-May-2008  yamt sync with head.
 1.15.14.2  01-Nov-2008  christos Sync with head.
 1.15.14.1  29-Mar-2008  christos Welcome to the time_t=long long dev_t=uint64_t branch.
 1.15.12.2  17-Jan-2009  mjf Sync with HEAD.
 1.15.12.1  02-Jun-2008  mjf Sync with HEAD.
 1.16.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.17.6.2  03-Mar-2009  skrll Sync with HEAD.
 1.17.6.1  19-Jan-2009  skrll Sync with HEAD.
 1.19.6.2  31-May-2011  rmind sync with head
 1.19.6.1  05-Mar-2011  rmind sync with head
 1.19.4.1  06-Nov-2010  uebayasi Sync with HEAD.
 1.20.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.21.14.3  03-Dec-2017  jdolecek update from HEAD
 1.21.14.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.21.14.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.21.4.2  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")
 1.21.4.1  30-Oct-2012  yamt sync with head
 1.23.2.1  18-May-2014  rmind sync with head
 1.24.6.1  05-Oct-2016  skrll Sync with HEAD

RSS XML Feed