summaryrefslogtreecommitdiff
path: root/sys/compat/netbsd
AgeCommit message (Collapse)Author
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-11syncTheo de Raadt
2003-05-11finish compat swapon cleanupTheo de Raadt
2003-04-30RegenMiod Vallat
2003-04-30Oops, repair omsync deprecation lossage.Miod Vallat
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-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-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-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-11-06Let fork1, uvm_fork, and cpu_fork take a function/argument pair as argument,Artur Grabowski
instead of doing fork1, cpu_set_kpc. This lets us retire cpu_set_kpc and avoid a multiprocessor race. This commit breaks vax because it doesn't look like any other arch, someone working on vax might want to look at this and try to adapt the code to be more like the rest of the world. Idea and uvm parts from NetBSD.
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-21Unnecessary wrapper.Artur Grabowski
2001-09-21Save some space on the stack for AuxInfo. Dynamic binaries now have the ↵Artur Grabowski
correct argv.
2001-09-21regenArtur Grabowski
2001-09-21no need for own implemenation of p{read,write}{,v}Artur Grabowski
2001-09-05syncArtur Grabowski
2001-09-05Add some necessary MSG_COMPAT.Artur Grabowski
Fix some mode_t vs. netbsd_mode_t (more needed) add issetugid
2001-09-05mode_t in netbsd is not the same as our mode_tArtur Grabowski
2001-09-05Will need netbsd_types.h very soon.Artur Grabowski
2001-08-26syncTheo de Raadt
2001-08-26there is no need for .bak filesTheo de Raadt
2001-08-11Unnecessary and redundant includes.Artur Grabowski
2001-05-16Missed conversion of sys___osemctl, sys_omsgctl, sys_oshmctl, to compat_23Todd C. Miller
2001-05-16regen for COMPAT_2{3,5}Todd C. Miller
2001-05-16Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.Todd C. Miller
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
2001-05-15just call me Theo "Fix bugs Art puts in the kernel" de RaadtTheo de Raadt
2001-05-14use fo_stat in fileops instead of huge switch statements.Artur Grabowski
2001-05-14Implement a wrapper round vn_stat that takes the same argumentsArtur Grabowski
as soo_stat and pipe_stat.
2001-05-14Correct panic message.Artur Grabowski
2001-05-14More generic arguments to soo_stat.Artur Grabowski
2001-05-14More generic arguments to pipe_stat.Artur Grabowski
2001-04-03We now can emulate vfork14 correctlyNiklas Hallqvist
2001-02-26Since netbsd_sys_fdatasync is the same code as sys_fsync, weArtur Grabowski
can simply call sys_fsync instead of copying code.
2001-02-26adapt to new softupdates changes.Artur Grabowski
2001-01-15Make this code build.Artur Grabowski
This could have never worked. XXX - do we need this at all now that we have native p{read,write}{,v}?
2001-01-15Unbreak UNION code.Artur Grabowski
2000-11-10Change the ktrace interface functions from taking the trace vnode to taking theArtur Grabowski
traced proc. The vnode is in the proc and all functions need the proc.
2000-05-01sys_semconfig goes foomTheo de Raadt
2000-05-01sys_semconfig goes awayTheo de Raadt
2000-04-19Change struct file interface methods read and write to pass file offset inConstantine Sapuntzakis
and out. Make pread/pwrite in netbsd & linux thread safe - which is the whole point anyway.
2000-01-31re-add fixed vfork code from artTheo de Raadt