summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* A few misc forkbomb defenses:silby2002-02-191-2/+5
| | | | | | | | | | | | | | | - Leave 10 processes for root-only use, the previous value of 1 was insufficient to run ps ax | more. - Remove the printing of "proc: table full". When the table really is full, this would flood the screen/logs, making the problem tougher to deal with. - Force any process trying to fork beyond its user's maximum number of processes to sleep for .5 seconds before returning failure. This turns 2000 rampaging fork monsters into 2000 harmlessly snoozing fork monsters. Reviewed by: dillon, peter MFC after: 1 week
* MFi386: merge changes from i386/trap.c rev 1.212gallatin2002-02-191-6/+8
| | | | | | | If the credential on an incoming thread is correct, don't bother reaquiring it. In the same vein, don't bother dropping the thread cred when going to userland. We are guaranteed to need it when we come back, (which we are guaranteed to do).
* Add stub syscalls and definitions for KSE calls.julian2002-02-197-8/+94
| | | | "Book'em Danno"
* Remove extraneous blank linejedgar2002-02-191-1/+0
|
* Use acl_dup() to duplicate an ACL instead of rolling our ownjedgar2002-02-191-14/+2
|
* Add 5 KSE syscalls. Two will be implemented with the next KSEjulian2002-02-191-0/+6
| | | | | | | | step and the others are reservations for coming code. All will be stubbed in this kernel in the next commit. This will allow people to easily make KSE binaries for userland testing (the syscalls will be in libc) but they will still need a real KSE kernel to test it. (libc looks in /sys to decide what it should add stubs for).
* Add C++ support.mike2002-02-192-0/+10
|
* Add the first shot at minimum KSE interface definitions.julian2002-02-191-0/+76
| | | | | This is to allow people to start playing with userland code. I will also add some stub syscalls in a minute.
* Merge from NetBSD:joe2002-02-191-4/+13
| | | | | * rev 1.47: Update a URL * rev 1.56: Keep track of device speed for USB 2.0.
* Add play (but not record) support for the Sis 7012.alfred2002-02-191-3/+27
| | | | Submitted by: Mike Meyer <mwm@mired.org>
* Fixed divots that I created when I moved prototypes of group_from_gidimp2002-02-198-3/+18
| | | | | | | and user_from_uid to grp.h and pwd.h. Update the man pages. Submitted by: David Malone Pointy hat to: imp
* Add emacs21 instead of emacs20 to the first CDROM.murray2002-02-181-1/+1
| | | | Reviewed by: nobutaka (editors/emacs21 maintainer)
* When the local link address is changed, send out gratuitous ARPsluigi2002-02-181-0/+11
| | | | | | | | | | | to notify other nodes about the address change. Otherwise, they might try and keep using the old address until their arp table entry times out and the address is refreshed. Maybe this ought to be done for INET6 addresses as well but i have no idea how to do it. It should be pretty straightforward though. MFC-after: 10 days
* Some release notes should have [MERGED] markers on them but didn't:bmah2002-02-182-34/+24
| | | | | | | | | | | | | | | kern.msgbuf sysctl and dmesg(8) not SGID, umodem driver, uscanner driver, fpa(4) works on alpha, arp(8) -s pub/only, TCP_COMPAT_42 removal, bktr(4) update to 2.18, snd module dependencies work, chown(8) -R does the right thing with symlinks, killall(1) works correctly with SUID root processes, strnstr(3)/strcasestr(3), style.perl(7). Remove some somewhat-lacking-in content release notes: PCI subsystem cleanup, netgraph(4) updates. I don't mind reinstating the latter group of release notes, if there's something less vague that can be said about them.
* Paranoia: if the process is setugid, set all sensitive files mode 0.des2002-02-181-1/+3
|
* Whitespace and wordwrap fixes, no content or markup changes.bmah2002-02-182-74/+78
|
* New release notes: bridge(4) enhancements, dump(8) progress informationbmah2002-02-182-6/+44
| | | | | | in proctitle, ldd(1) -a, rtld(1) object dependency tracing, usbdevs(8) -a. MFCs noted: ldd(1) can be used on shlibs, BIND 8.3.1-REL, bzip-1.0.2.
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-02-18106-382/+420
| | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm
* Load the current timecounter into tc. The timecounter global can changedillon2002-02-181-1/+2
| | | | | | | at any time and we do not want to call one timercounter's function with another timecounter's structural pointer. MFC after: 3 days
* Add some more partition types.joe2002-02-181-26/+56
| | | | | PR: i386/14793 MFC after: 3 days
* Add net/samba to the list of important packages for Disc #1.murray2002-02-181-0/+1
| | | | Discussed with: steve, portmgr, re
* Add kern_giant_ucred to instrument Giant around ucred related operationsdillon2002-02-183-0/+5
| | | | such a getgid(), setgid(), etc...
* Fix typo.sobomax2002-02-181-1/+1
| | | | Approved by: phk
* Make v_addpollinfo() visible and non-inline.phk2002-02-183-10/+8
| | | | | | | Have callers only call it as needed. Add necessary call in ufs_kqfilter(). Test-case found by: Andrew Gallatin <gallatin@cs.duke.edu>
* Rehash of 1.43: simply remove the comment, since it's highly redundantrwatson2002-02-181-13/+0
| | | | and only partially correct.
* Correct path to pucdata.cjedgar2002-02-182-2/+2
| | | | Reviewed by: jhay
* Fix kgdb in the face of the last round of KSE commits.gallatin2002-02-181-3/+9
| | | | The alpha world may actually build now..
* Add bus_space_unmap() and bus_space_free() functions to releasenyan2002-02-183-0/+56
| | | | a bus_space_handle allocated by bus_space_subregion().
* Add stubs for bus_space_unmap() and bus_space_free(). They are needed tonyan2002-02-183-12/+45
| | | | release a bus_space_handle allocated by bus_space_subregion().
* Add NO_6_BYTE quirk entry for the LaCie Ltd. 105311 80 Gig USB2 drive.bsd2002-02-181-1/+8
| | | | Submitted by: Brian Schellenberger <bts@babbleon.org>
* Add the braces missed by revision 1.131.iedowse2002-02-181-1/+2
| | | | Pointy hat to: rwatson
* Add support for the Highpoint HPT372 based cards (rocketraid 133).sos2002-02-183-31/+40
| | | | HW Sponsored by: Mike Tancsa
* Fix the problem that some (in my book broken) disks reportssos2002-02-181-1/+2
| | | | | | | to be able to use 48bit addressing mode, but says the 48bit size of the disk is 0, which according to spec means it can address zero sectors in 48bit mode, why then say it supports 48bit mode at all..
* The DEVFS paper presented at BSDcon-euro 2001 and BSDcon-2002.phk2002-02-183-1/+1286
|
* Add some verbiage to the comments at the top of the PR template:des2002-02-181-3/+12
| | | | | | | | - point at the FDP article rather than GNU's send-pr documentation - warn the user that PRs are public information and will be published in mailing lists and on the web - suggest that the user contact security-officer@ directly if the report concerns sensitive security issues.
* Take the common case of gettimeofday(&tv, NULL) out from under Giant.phk2002-02-181-8/+4
|
* Remove yet a redundant VN_KNOTE() macro.phk2002-02-181-3/+0
|
* Add notes about sendmail update from gshapiro.imp2002-02-181-0/+7
|
* style(9)obrien2002-02-181-2/+2
|
* Remove now-obsolete __STDC__ ifdefs, remove redundant NULL definition andimp2002-02-183-14/+1
| | | | include stdlib.h for NULL.
* The ICANON flag is an lflag, not an iflag.dillon2002-02-181-2/+2
| | | | | Submitted by: Neelkanth Natu <neelnatu@yahoo.com> MFC after: 3 days
* Fix last second botch of adding $FreeBSD$.imp2002-02-182-2/+2
|
* Remove __P() before committing new prototypes with KSE stuffjulian2002-02-181-52/+52
| | | | in a couple of weeks.
* Remove __Pimp2002-02-1835-300/+267
| | | | | | Remove __STDC__ (which means we now use stdarg rather than vararg) Remove register Remove main prototype
* Use a more robust scheme for determining how many blocks to skipiedowse2002-02-181-15/+18
| | | | | | | | | after an EOT-terminated volume. We keep track of the current record number, and synchronise it with the c_tapea field each time we read a header. Avoid the use of c_firstrec because some bugs in dump can cause it to be set incorrectly. Move the initialisation of some variables to avoid compiler warnings.
* ld-elf.so.1 assumed a few too many things about the ordering of sectionspeter2002-02-185-72/+265
| | | | | | | | | | | | | | produced by ld(8) (ie: that _DYNAMIC immediately follows the _GOT). The new binutils import changed that, and the intial GOT relocation broke. Use a custom linker script to provide a real end-of-GOT symbol. Update ld.so to deal with the new (faster) PLT format that gcc-3.1 and binutils can produce. This is probably incomplete, but appears to be working again. Obtained from: NetBSD (And a fix to a silly mistake that I made by: gallatin)
* Fix mail.local build for non-sendmail.org codegshapiro2002-02-181-1/+1
|
* Remove a blank line.luigi2002-02-181-1/+0
|
* Manpage update: comment existing functionalities and giveluigi2002-02-181-60/+146
| | | | | | more detailed examples on how to use them. Undocument deprecated functionalities which are going to be removed soon.
* Two license updates.rwatson2002-02-183-3/+9
|
OpenPOWER on IntegriCloud