summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_file.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove the Linux emulation code, no longer referenced by anythingnaddy2016-03-021-975/+0
|
* Move p_emul and p_sigcode from proc to process.guenther2014-03-261-20/+20
| | | | | | | | | Tweak the handling of ktrace EMUL when changing ktracing: only generate one per process (not one per thread) and pass the correct proc pointer down to the VFS layer. Permit generating of NAMI and CSW records inside ktrace(2) itself. ok deraadt@ millert@
* Try to cope better with void pointer to int usage cases.pirofti2014-01-231-3/+5
| | | | | | | Use intptr_t for such cases. More casts/types should be improved in this file. Tested with syscall regression tests from IBM.
* compat_linux: Add support for future time_t and ino_t size enlargements.pirofti2013-05-101-6/+12
| | | | Reviewed by guenther@.
* Add struct proc * argument to FRELE() and FILE_SET_MATURE() inguenther2012-04-221-3/+3
| | | | | | anticipation of further changes to closef(). No binary change. ok krw@ miod@ deraadt@
* implement chown(2) in compat_linux which is needed by some antivirus softwarerobert2011-11-251-1/+16
| | | | ok pirofti@
* remove all the old COMPAT_43 syscalls. The option itself remains fortedu2011-07-071-2/+44
| | | | | | the other things it enables. Move a few old wrappers into linux compat where they are still being used. ok deraadt guenther
* Correct the links between threads, processes, pgrps, and sessions,guenther2010-07-261-6/+7
| | | | | | | | | so that the process-level stuff is to/from struct process and not struct proc. This fixes a bunch of problem cases in rthreads. Based on earlier work by blambert and myself, but mostly written at c2k10. Tested by many: deraadt, sthen, krw, ray, and in snapshots
* Use S_IS* macros insted of masking with S_IF* flags. The latter mayotto2006-09-251-2/+2
| | | | | have multiple bits set, which lead to surprising results. Spotted by from Paul Stoeber, more to come. ok miod@
* remove some copy and waste. from marius@monkey.orgtedu2003-08-131-7/+1
|
* First round of __P removal in sysmillert2002-03-141-8/+8
|
* More FREF/FRELE on relevant places. Now, only sys_mmap and a bunch of ioctl functions in sys/compat are left.art2002-02-131-2/+7
|
* Be more consistent about using fd_getfile where it matters.art2002-02-021-3/+4
|
* - every new fd created by falloc() is marked as larval and should not be usedart2001-10-261-4/+3
| | | | | | | any anyone. Every caller of falloc matures the fd when it's usable. - Since every lookup in the fd table must now check this flag and all of them do the same thing, move all the necessary checks into a function - fd_getfile.
* rename some syscalls to <syscall>16 to make room for new ones.jasoni2001-07-031-7/+7
|
* seperate -> separate, okay aaron@provos2000-11-101-2/+2
|
* common/compat_util.cericj2000-09-071-2/+2
|
* Use our own pread/pwrite.jasoni2000-07-231-106/+23
|
* O_FYNC -> O_SYNCmillert2000-04-211-3/+3
|
* Change struct file interface methods read and write to pass file offset incsapuntz2000-04-191-19/+18
| | | | | | | and out. Make pread/pwrite in netbsd & linux thread safe - which is the whole point anyway.
* Implement Linux's pread(2) and pwrite(2).jasoni2000-04-041-6/+149
|
* Add missing system calls as unimplemented.jasoni2000-02-281-1/+23
| | | | Implement chown, poll, setresuid, getresuid, setresgid, getresgid.
* put mremap() in linux_misc.cderaadt1997-11-131-21/+1
|
* fix F_GETLK; tron@lyssa.owl.dederaadt1997-09-051-2/+8
|
* mremap non-emulation; tron@lyssa.owl.dederaadt1997-07-271-1/+21
|
* Nevermind, I looked at it wrong.downsj1997-01-271-2/+2
|
* As of 2.1.14, Linux chown() doesn't follow symlinks either.downsj1997-01-271-2/+2
|
* use variablederaadt1996-10-161-2/+2
|
* syncderaadt1996-05-221-2/+17
|
* Good fixes and changes from latest Net.mickey1996-04-171-5/+18
|
* initial import of NetBSD treederaadt1995-10-181-0/+795