summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/linux_syscall.h
Commit message (Collapse)AuthorAgeFilesLines
* Regen.dfr2004-09-061-1/+4
|
* Regenerate after fcntl() wrappers were marked MP safe.jhb2004-08-241-1/+1
|
* Use the BSD madvise() syscall implementation for Linux binary emulation,bms2004-03-281-1/+1
| | | | | | | | instead of treating it as an unimplemented syscall. This appears to make StarOffice 7.0 Linux binaries work according to submitter; also tested with nvidia driver by submitter. Submitted by: Matthias Schuendehuette
* Regenerate.jhb2004-03-151-1/+1
|
* Regen.jhb2004-02-041-1/+1
|
* Regen (should be a NOP except for rcsid changes)peter2003-12-231-1/+1
|
* Pull latest changes from OpenBSD:sobomax2003-11-161-1/+15
| | | | | | | | | | | - improve sysinfo(2) syscall; - add dummy fadvise64(2) syscall; - add dummy *xattr(2) family of syscalls; - add protos for the syscalls 222-225, 238-249 and 253-267; - add exit_group(2) syscall, which is currently just wired to exit(2). Obtained from: OpenBSD MFC after: 2 weeks
* Regen.jhb2003-11-071-1/+1
|
* Regen from syscalls.master 1.50.tjr2003-02-201-1/+1
|
* Regen from syscalls.master 1.49.tjr2003-02-161-1/+1
|
* Back out last commit. Linux uses the old 4.3BSD sockaddr format.mini2002-09-241-3/+3
|
* Don't use compatability syscall wrappers in emulation code.mini2002-09-231-3/+3
| | | | | | This is needed for the COMPAT_FREEBSD3 option split. Reviewed by: alfred, jake
* Regen (linux_ptrace)marcel2002-05-191-1/+1
| | | | PR: 33299
* Implement linux_chown and linux_lchown. The fchown syscall mapsmarcel2001-10-161-2/+1
| | | | | | | directly to the native syscall, because no filename handling needs to be done. Tested by: Martin Blapp <mb@imp.ch>
* Regen: Stop using linux_getpgid(). Use the native getpgid()marcel2001-09-281-2/+2
| | | | | | instead. PR: kern/21402
* Round of cleanups and enhancements. These include (in random order):marcel2001-09-081-44/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Introduce private types for use in linux syscalls for two reasons: 1. establish type independence for ease in porting and, 2. provide a visual queue as to which syscalls have proper prototypes to further cleanup the i386/alpha split. Linuxulator types are prefixed by 'l_'. void and char have not been "virtualized". o Provide dummy functions for all syscalls and remove dummy functions or implementations of truely obsolete syscalls. o Sanitize the shm*, sem* and msg* syscalls. o Make a first attempt to implement the linux_sysctl syscall. At this time it only returns one MIB (KERN_VERSION), but most importantly, it tells us when we need to add additional sysctls :-) o Bump the kenel version up to 2.4.2 (this is not the same as the KERN_VERSION MIB, BTW). o Implement new syscalls, of which most are specific to i386. Our syscall table is now up to date with Linux 2.4.2. Some highlights: - Implement the 32-bit uid_t and gid_t bases syscalls. - Implement a couple of 64-bit file size/offset bases syscalls. o Fix or improve numerous syscalls and prototypes. o Reduce style(9) violations while I'm here. Especially indentation inconsistencies within the same file are addressed. Re-indenting did not obfuscate actual changes to the extend that it could not be combined. NOTE: I spend some time testing these changes and found that if there were regressions, they were not caused by these changes AFAICT. It was observed that installing a RH 7.1 runtime environment did make matters worse. Hangs and/or reboots have been observed with and without these changes, so when it failed to make life better in cases it doesn't look like it made it worse.
* Regen after adding linux_sched_get_priority_max() andalc2001-04-011-3/+3
| | | | linux_sched_get_priority_min().
* Re-gen auto generated files.jlemon2001-02-161-2/+2
|
* o Change the argument of linux_sigreturn to be a pointer to amarcel2000-11-231-1/+1
| | | | | | | | | | struct sigframe. We need more than only the signal context. o Properly convert the signal mask when setting up the signal frame in linux_sendsig and properly convert it back in linux_sigreturn. Do some cleanups and improve style while here.
* Revert auto-generation. The Alpha port is broken.marcel2000-11-101-0/+207
| | | | Syncing with it is wrong.
* Sync with Alpha:marcel2000-11-091-207/+0
| | | | | Do not use sysent.c, proto.h and syscall.h in source tree; use auto-generated versions.
* regen after addition of linux_rt_sigreturngallatin2000-10-171-1/+1
|
* Regen. (Fix SYS_exit)peter2000-07-291-2/+2
|
* Regenerate with makesyscalls.shpeter2000-07-291-2/+2
|
* Implement pread and pwrite.marcel2000-07-171-1/+1
| | | | | PR: 17991 Submitted by: Geoffrey Speicher <geoff@caribbean.sea-incorporated.com>
* Regenerated (fixed the calculation of sy_nargs in sysent tables).bde2000-05-091-1/+1
|
* Regen after pointing to the real setres[ug]id(). Remove dummy function.peter2000-01-291-3/+3
| | | | | (Note: getres[ug]id is still a dummy as it returns via pointers to a different sized integer and does need real wrappers.)
* Update syscalls to Linux kernel 2.3.38. These syscalls aremarcel2000-01-101-2/+9
| | | | implemented as dummies to ease problem solving.
* Implement linux_sigaltstack.marcel1999-11-301-1/+1
|
* Implement linux_ustat.marcel1999-11-271-1/+1
| | | | Reviewed by: bde
* Implement fdatasync in terms of fsync. The regeneration of proto.h,marcel1999-11-261-1/+1
| | | | | syscall.h and sysent.h was probably forgotten after the last change syscalls.master.
* Regeneration.luoqi1999-09-221-1/+2
|
* Regen after Id->FreeBSDpeter1999-08-281-1/+1
|
* Change all UNIMPL syscalls to STD and add them to linux_dummy. Now we alwaysmarcel1999-08-251-3/+31
| | | | | | | | | | | | know if and when an unimplemented or obsoleted syscall is being used. Make the message more end-user friendly. And as long as we're here, rename some unimplemeted syscalls (linux_phys -> linux_umount2, linux_vm86 -> linux_vm86old, linux_new_vm86 -> linux_vm86). Change prototype for linux_newuname from `struct linux_newuname_t *' into `struct linux_new_utsname *'. This change is reflected in linux.h and linux_misc.c.
* Implement linux_vfork() syscall by calling vfork(). Analogous to themarcel1999-08-161-1/+2
| | | | linux_fork() implementation.
* Provide wrappers for sched_{s|g}etscheduler. We need to convert the policymarcel1999-08-151-3/+3
| | | | | | | argument. PR: 12006 Originator: Jean-Claude MICHOT <jcmichot@teaser.fr>
* Implementation of the linux_getcwd syscall.marcel1999-08-141-2/+3
|
* Implementation of linux_rt_sigaction and linux_rt_sigprocmask syscalls. Bothmarcel1999-08-141-1/+3
| | | | | | | | | | functions use the new sigset_t and sigaction_t which allows support for more than 32 signals. Only the lower 32 signals are supported for now. linux_rt_sigaction, linux_sigaction and linux_signal use linux_do_sigaction to do the actual work. That way unnecessary redundancy is avoided. The same has been done for linux_rt_sigprocmask and linux_sigprocmask. They call linux_do_sigprocmask to do the actual work.
* Use a wrapper for the link syscall that does name translations.marcel1999-08-121-2/+2
| | | | | PR: 12749 Submitted by: Boris Nikolaus <boris@cs.tu-berlin.de>
* Do not map {s|g}etrlimit onto FreeBSD syscalls. The arguments don't match.marcel1999-08-111-3/+3
| | | | | | | | The linux syscalls translate the arguments first before invoking the FreeBSD native syscalls. PR: kern/9591 Originator: John Plevyak <jplevyak@inktomi.com>
* Commit #2 ofsos1998-12-301-3/+3
| | | | | PR: 9235 Submitted by: marcel@scc.nl <Marcel Moolenaar>
* The result of running make linux_sysent.c on the new syscalls.mastersos1998-12-221-1/+2
|
* The result of running make linux_sysent.c on the new syscall.master filesos1998-12-211-1/+1
|
* Reviewed by: Luoqi Chen, Jordan Hubbardjulian1998-12-191-1/+1
| | | | | | | | | | | | Submitted by: "Richard Seaman, Jr." <lists@tar.com> Obtained from: linux :-) Code to allow Linux Threads to run under FreeBSD. By default not enabled This code is dependent on the conditional COMPAT_LINUX_THREADS (suggested by Garret) This is not yet a 'real' option but will be within some number of hours.
* Quick and dirty support for Linux's mremap. Not used by anythingjkh1998-07-101-0/+1
| | | | | | but quake2 AFAIK. Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>
* Updated generated files.bde1998-06-091-1/+1
|
* regeneratepeter1998-03-291-3/+4
|
* Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B anddufault1998-03-281-1/+14
| | | | | | | | | | | | | | | | _KPOSIX_PRIORITY_SCHEDULING options to work. Changes: Change all "posix4" to "p1003_1b". Misnamed files are left as "posix4" until I'm told if I can simply delete them and add new ones; Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux; Add man pages for _POSIX_PRIORITY_SCHEDULING system calls; Add options to LINT; Minor fixes to P1003_1B code during testing.
* Regenerate (fix argument of linux_nice).kato1997-12-171-1/+1
|
* Regenerate (removed unused #includes in linux_sysent.c).bde1997-04-091-1/+1
|
OpenPOWER on IntegriCloud