summaryrefslogtreecommitdiff
path: root/sys/compat/freebsd
AgeCommit message (Collapse)Author
2006-04-30remove the simplelock argument from vfs_busy() which is currently notNikolay Sturm
used and will never be used this way in VFS requested by and ok pedro, ok krw, biorn
2006-04-19Remove unused mount list simple_lock() gooPedro Martelletto
2006-03-05Use more queue macros rather than doing it by hand; ok otto@ krw@Miod Vallat
2006-02-07regenBrad Smith
2006-02-07add the new syscalls to the listBrad Smith
From jdolecek NetBSD
2006-01-19redo (w/ proper changes everywhere ;):Michael Shalayeff
take interp[MAXPATHLEN] off the stack. from mickey, ok otto while here, switch above from malloc to pool, remove stupid casts tedu@ miod@ ok
2005-11-30No need for vfs_busy() and vfs_unbusy() to take a process pointerPedro Martelletto
anymore. Testing by jolan@, thanks.
2005-06-17Missed in previous regen commitTodd C. Miller
2005-06-17regenTodd C. Miller
2005-06-17remove undelete syscallTodd C. Miller
2005-02-19regenMatthieu Herrb
2005-02-19Add getdents() emulation. Makes Veritas NetBackup client for FreeBSD work.Matthieu Herrb
ok deraadt@, tedu@.
2004-07-13regen after stat/mode_t/nlink_t changesTodd C. Miller
2004-07-13Change mode_t and nlink_t from 16bit to 32bit. This allows us toTodd C. Miller
use mode_t in syscalls.master and to use mode_t in more places in the kernel. It also makes lint much more useful on kernel code. I've also added a placeholder for st_birthtime to make a UFS2 import easier at some future date. Requested by and OK deraadt@
2004-07-09regenTodd C. Miller
2004-07-09Rename ostat -> stat43 to disambiguate from upcoming struct stat changes.Todd C. Miller
Idea from NetBSD, OK deraadt@
2004-05-28regenTed Unangst
2004-05-28ACCOUNTING is optional. found by mpech. ok deraadtTed Unangst
2004-04-15rework access to emulations slightly in an effort to both merge andTed Unangst
separate exec format from emulation. consistent naming of freebsd emuls. not much in the way of functional changes yet. testing and ok deraadt@ and others along the way.
2004-02-17syncTed Unangst
2004-02-17kqueue works using native callsTed Unangst
once from art@ a while back, again from Jason Ackley <jason@ackley.net>
2003-08-24regenTed Unangst
2003-08-24freebsd pread and pwrite are the same as ours. jason + ackley.net says thisTed Unangst
lets him run perforce. ok deraadt@
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-16Do the new-style EI_OSABI check first because it is cheaper.Todd C. Miller
2003-05-13De-hackify. Use proper defines now that we have EI_OSABI and ELFOSABI_FREEBSDTodd C. Miller
2003-05-10RegenMiod Vallat
2003-05-10Deprecate the swapon system call and move it to COMPAT_25 land, since swapctlMiod Vallat
has been introduced for this release. ok deraadt@ weingart@
2003-03-11Hack to match new FreeBSD ELF binaries (such as opera). A properTodd C. Miller
version of this will go in after 3.3 is out and the tree unlocks. deraadt@ OK
2003-01-30regen now that setreuid/setregid have moved out of compat and into kernTodd C. Miller
2003-01-30Bring back setreuid(2) and setregid(2) as first class syscallsTodd C. Miller
(but still implemented via setres[ug]id(2)). Basically this just moves them from COMPAT_43 into kern_prot.c. Also fixes a typo in my old implementation. The userland portion will follow in a few days. deraadt@ OK
2002-10-30regenTodd C. Miller
2002-10-30Now that we have [gs]etres[ug]id() as a native system call, use itTodd C. Miller
for HP-UX, FreeBSD, and Linux emulations. Note that Linux has two versions of these system calls. One for 16bit uids and another for 32bit uids.
2002-08-23Cleanup change. Since almost all callers (except one) of getvnode did a FREFArtur Grabowski
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.
2002-07-06syncThomas Nordin
2002-07-06Remove kernel support for NTP. ok deraadt@ and tholo@Thomas Nordin
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-14Regen after syscall changes (option PTRACE)Miod Vallat
2002-03-14Turn the ptrace(2) syscall into a kernel compile option, option PTRACE inMiod Vallat
your kernel configuration file. By default, GENERIC will enable this. When PTRACE is not enabled, several ptrace-like features of the procfs filesystem will be disabled as well (namely, the ability to read and write any process' registers, as well as attching, single stepping and detaching to/from processes). This should help paranoid people build better sandboxens, and us to build smaller ramdisks.
2002-03-11Since all archs implement PT_GETREGS and PT_SETREGS, make then unoptional.Artur Grabowski
They still stay in MD code for backwards compatibility, but a check in ptrace.h checks if they are defined. Note - the same thing will be done with PT_{GET,SET}FPREGS once vax implements them and with PT_STEP when it's implemented by sparc, sparc64 and alpha.
2002-02-13Ooops. unbreak after last.Artur Grabowski
noted by pvalchev@
2002-02-13More FREF/FRELE on relevant places. Now, only sys_mmap and a bunch of ioctl ↵Artur Grabowski
functions in sys/compat are left.
2002-02-12More FREF/FRELE protection. This time all users of getvnode.Artur Grabowski
2001-11-27sync. -mojMats O Jansson
2001-11-27Add clock_gettime. -moj ok art@Mats O Jansson
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-10-26 - every new fd created by falloc() is marked as larval and should not be usedArtur Grabowski
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.
2001-09-20occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok
2001-09-19Unify elf32 and elf64 code with macros. This forced a renamingArtur Grabowski
of a few functions from elf32.