summaryrefslogtreecommitdiffstats
path: root/sys/compat/netbsd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Maintaining a broken compatibility layer for a broken OS is not a productivebeck2007-05-2820-5425/+0
| | | | | activity for anyone. Bye bye COMPAT_NETBSD. ok tedu@, deraadt@, and many others in the hackathon room.
* Retire VOP_LEASE(); It was a bit for NQNFS and hasthib2007-01-161-3/+1
| | | | | | | | | effectively been a no-op for quite some time now, without promise for future usage. ok pedro@ Testing by krw@ (earlier diff) and Johan Mson Lindman (tybollt@solace.miun.se)
* regenpedro2006-09-224-45/+8
|
* Remove LFS system calls from here toopedro2006-09-221-10/+1
|
* rename vfs_busy() flags VB_UMIGNORE/VB_UMWAIT to VB_NOWAIT/VB_WAITsturm2006-06-251-2/+2
| | | | requested by and ok pedro
* move vfs_busy() to rwlocks and properly hide the locking api from vfssturm2006-06-141-2/+2
| | | | ok tedu, pedro
* remove the simplelock argument from vfs_busy() which is currently notsturm2006-04-301-2/+2
| | | | | | used and will never be used this way in VFS requested by and ok pedro, ok krw, biorn
* Instrumentation for an in-kernel getcwd() implementation.pedro2006-04-281-50/+1
| | | | | Not yet activated. Diff by marius@ long ago, from NetBSD. Okay miod@ and krw@.
* Remove unused mount list simple_lock() goopedro2006-04-191-6/+5
|
* Use more queue macros rather than doing it by hand; ok otto@ krw@miod2006-03-051-5/+6
|
* redo (w/ proper changes everywhere ;):mickey2006-01-191-2/+2
| | | | | | take interp[MAXPATHLEN] off the stack. from mickey, ok otto while here, switch above from malloc to pool, remove stupid casts tedu@ miod@ ok
* No need for vfs_busy() and vfs_unbusy() to take a process pointerpedro2005-11-301-5/+5
| | | | anymore. Testing by jolan@, thanks.
* whever -> whenever in commentsmartin2005-11-091-2/+2
| | | | ok jmc@
* Remove remaining whiteout tentacles; OK deraadt@ miod@ weingart@millert2005-06-181-3/+2
|
* Missed in previous regen commitmillert2005-06-171-4/+4
|
* regenmillert2005-06-173-11/+7
|
* remove undelete syscallmillert2005-06-171-2/+2
|
* RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@pedro2005-05-262-77/+3
|
* Create the init process earlier, before the root filesystem is mounted,miod2004-11-231-2/+2
| | | | | | | | | | | and have it stall on a semaphore. This allows all kthread creations which could have been requested during autoconf to be processed before root is mounted as well. This causes umass devices attached to any usb with flags 1 (such as on macppc) to configure properly instead of panicing the kernel at mountroot time. From NetBSD; tested by various.
* the rest of the '#if DIAGNOSTIC' -> '#ifdef DIAGNOSTIC' in the kernel; ok miod@todd2004-08-031-2/+2
|
* regen after stat/mode_t/nlink_t changesmillert2004-07-134-13/+13
|
* Change mode_t and nlink_t from 16bit to 32bit. This allows us tomillert2004-07-132-25/+5
| | | | | | | | | | 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@
* regenmillert2004-07-094-22/+22
|
* Rename ostat -> stat43 to disambiguate from upcoming struct stat changes.millert2004-07-092-9/+7
| | | | Idea from NetBSD, OK deraadt@
* regentedu2004-05-284-8/+20
|
* ACCOUNTING is optional. found by mpech. ok deraadttedu2004-05-281-1/+5
|
* rework access to emulations slightly in an effort to both merge andtedu2004-04-151-3/+3
| | | | | | 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.
* synctedu2004-01-144-25/+20
|
* change sigaltstack.ss_size type to size_t. handle syscall fallout.tedu2004-01-143-87/+8
| | | | | add stack_t and ucontext_t typedefs. ok deraadt@
* change arguments to suser. suser now takes the process, and a flagstedu2003-08-152-5/+5
| | | | | | | | | 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@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-028-48/+16
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* syncderaadt2003-05-114-11/+11
|
* finish compat swapon cleanupderaadt2003-05-111-2/+2
|
* Regenmiod2003-04-304-11/+11
|
* Oops, repair omsync deprecation lossage.miod2003-04-301-2/+2
|
* regen now that setreuid/setregid have moved out of compat and into kernmillert2003-01-304-20/+20
|
* Bring back setreuid(2) and setregid(2) as first class syscallsmillert2003-01-301-5/+3
| | | | | | | (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
* Cleanup change. Since almost all callers (except one) of getvnode did a FREFart2002-08-232-6/+7
| | | | | | | 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.
* syncnordin2002-07-064-31/+8
|
* Remove kernel support for NTP. ok deraadt@ and tholo@nordin2002-07-061-6/+1
|
* First round of __P removal in sysmillert2002-03-148-266/+266
|
* Regen after syscall changes (option PTRACE)miod2002-03-144-8/+20
|
* Turn the ptrace(2) syscall into a kernel compile option, option PTRACE inmiod2002-03-141-1/+5
| | | | | | | | | | | | | 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.
* More FREF/FRELE on relevant places. Now, only sys_mmap and a bunch of ioctl functions in sys/compat are left.art2002-02-131-1/+3
|
* More FREF/FRELE protection. This time all users of getvnode.art2002-02-122-3/+8
|
* 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)
* Let fork1, uvm_fork, and cpu_fork take a function/argument pair as argument,art2001-11-061-2/+3
| | | | | | | | | | | 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.
* - every new fd created by falloc() is marked as larval and should not be usedart2001-10-261-3/+2
| | | | | | | 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.
* Unnecessary wrapper.art2001-09-211-20/+2
|
* Save some space on the stack for AuxInfo. Dynamic binaries now have the correct argv.art2001-09-211-2/+2
|