summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_misc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* getdents64 support, based on FreeBSD.fgsch2002-10-281-20/+55
| | | | thanks to jpmk@fibertel.com.ar for providing a testbed; jasoni ok.
* Cleanup change. Since almost all callers (except one) of getvnode did a FREFart2002-08-231-2/+1
| | | | | | | on the returned file, do the FREF inside getvnode so that people can't get away with avoiding FREF and FRELE. Eyeballed by various people.
* Avoid time wrap at securelevel 2. ok millert@ fgsch@nordin2002-07-251-3/+3
|
* provide local versions of getpid, getuid and getgid that do notjasoni2002-06-051-1/+34
| | | | stuff a value in retval[1] as newer linux libs puke on it.
* remove ambiguity in version,ostype,osversion,osrelease and their constanity, they are and declarre 'em accordingly also removing private externies of thosemickey2002-03-141-5/+4
|
* First round of __P removal in sysmillert2002-03-141-5/+5
|
* More FREF/FRELE protection. This time all users of getvnode.art2002-02-121-1/+3
|
* Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.miod2001-11-061-2/+2
| | | | (Look ma, I might have broken the tree)
* absolutely no need to include vm_parm.h after vm.hmickey2001-08-121-2/+1
|
* rename 2 more syscalls to syscallname16 (missed last time)jasoni2001-07-031-5/+5
|
* rename some syscalls to <syscall>16 to make room for new ones.jasoni2001-07-031-7/+7
|
* On popular demand, the Linux-compatibility clone(2) implementation basedniklas2001-04-021-7/+21
| | | | | on NetBSD's code, as well as some faked Posix RT extensions by me. This makes at least simple linuxthreads tests work.
* SunOS, IBCS2, Linux, and SVR4 all require translations of directory entriescsapuntz2001-01-231-127/+80
| | | | | | | | | | from OpenBSD format to their respective native formats. A lot of common code here for interfacing with OpenBSD VOP_READDIR. Most of this code and logic has been moved to common/compat_dir.c When reading a portion of the directory, the compatibility layer registers a callback which is passed an OpenBSD-style dirent and the cookie/offset.
* Linux mmap ignores the fd argument when MAP_ANON is on. Always pass -1jasoni2000-09-101-2/+2
| | | | | to the native mmap system call (in case the linux app doesn't). - From NetBSD
* common/compat_util.cericj2000-09-071-2/+2
|
* OpenBSD -> NetBSD where previously missed.jasoni2000-07-231-11/+11
|
* Oops.art2000-07-171-2/+2
|
* Be more careful about return values from hzto.art2000-07-171-2/+6
|
* Use new timeouts.art2000-06-261-3/+4
|
* Implement linux's setfsuid and getfsuid (from NetBSD)jasoni2000-04-121-1/+33
|
* Add missing system calls as unimplemented.jasoni2000-02-281-1/+202
| | | | Implement chown, poll, setresuid, getresuid, setresgid, getresgid.
* Implement compatibility for Linux stime() syscall.aaron1999-12-061-1/+28
|
* avoid future register_t vs int problems, if this becomes 64 bitderaadt1999-06-141-2/+5
|
* better fd leak preventionderaadt1999-06-081-2/+3
|
* use sys_opipe(), but note the descriptor leakagederaadt1999-06-081-2/+3
|
* New struct statfs with mount options. NOTE: this replaces statfs(2),millert1999-05-311-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fstatfs(2), and getfsstat(2) so you will need to build a new kernel before doing a "make build" or you will get "unimplemented syscall" errors. The new struct statfs has the following featuires: o Has a u_int32_t flags field--now softdep can have a real flag. o Uses u_int32_t instead of longs (nicer on the alpha). Note: the man page used to lie about setting invalid/unused fields to -1. SunOS does that but our code never has. o Gets rid of f_type completely. It hasn't been used since NetBSD 0.9 and having it there but always 0 is confusing. It is conceivable that this may cause some old code to not compile but that is better than silently breaking. o Adds a mount_info union that contains the FSTYPE_args struct. This means that "mount" can now tell you all the options a filesystem was mounted with. This is especially nice for NFS. Other changes: o The linux statfs emulation didn't convert between BSD fs names and linux f_type numbers. Now it does, since the BSD f_type number is useless to linux apps (and has been removed anyway) o FreeBSD's struct statfs is different from our (both old and new) and thus needs conversion. Previously, the OpenBSD syscalls were used without any real translation. o mount(8) will now show extra info when invoked with no arguments. However, to see *everything* you need to use the -v (verbose) flag.
* strncpy; edx trashing solution in sys_pipe(); freebsdderaadt1999-02-101-11/+32
|
* Correct directory entry reads, big directories lost entries as it were.niklas1999-02-101-3/+4
| | | | Also, fix the NCR SVR4 rdebug syscall emulation.
* fix netbsd bug; from boquist@cs.chalmers.sedownsj1998-07-051-3/+2
|
* emulate shrinking in mremap(); boquist@cs.chalmers.sederaadt1998-07-041-7/+43
|
* correct utimes() emulationderaadt1998-04-261-2/+2
|
* correct a commentmillert1998-03-221-2/+2
|
* GCC 2.8 -Wallniklas1998-02-231-13/+4
|
* enforce VM_PROT_READ in mmapderaadt1997-11-261-1/+3
|
* make msync() have 3 argsderaadt1997-11-131-22/+1
|
* put mremap() in linux_misc.cderaadt1997-11-131-1/+18
|
* Updates for VFS Lite 2 + soft update.csapuntz1997-11-061-10/+12
|
* back out vfs lite2 till after 2.2deraadt1997-10-061-12/+10
|
* VFS Lite2 Changescsapuntz1997-10-061-10/+12
|
* #34 - linux_sys_nice from NetBSDgraichen1997-04-141-1/+18
|
* sys/dirent.hderaadt1996-08-101-2/+2
|
* syncderaadt1996-05-221-2/+54
|
* Good fixes and changes from latest Net.mickey1996-04-171-11/+19
|
* from fvdl; add msync(), readv() and writev()deraadt1995-12-191-1/+22
|
* update from netbsdderaadt1995-12-141-22/+1
|
* initial import of NetBSD treederaadt1995-10-181-0/+1105