summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Disable -Werror when building -- the old version of gcc used on IA32 can'twollman2002-03-231-0/+2
| | | | deal with C99 formats.
* Lots of markup fixes and improvements.bmah2002-03-231-23/+47
| | | | Submitted by: ue
* Don't use graphics in callouts for the release documentation. Thebmah2002-03-231-0/+6
| | | | | | | little graphics images are a pain to deal with, and they don't work in the *.TXT files anyways. Submitted by: ue
* Remove an obsolete release note about TCP and SYN-flood protection.bmah2002-03-232-8/+0
| | | | Reviewed by: silby
* Update perl's man path for 5.6.1brian2002-03-231-1/+1
|
* Sendmail can be slow to startup.obrien2002-03-221-4/+4
| | | | So start it in the background to speed up booting.
* Fix the style of the SCM ID's.obrien2002-03-2229-25/+35
| | | | I believe have made all of libc .h's as consistent as possible.
* Fix the style of the SCM ID's.obrien2002-03-2254-117/+138
| | | | I believe have made all of libc .c's as consistent as possible.
* Fix the style of the SCM ID's.obrien2002-03-221-1/+2
| | | | I believe have made all of libc .h's as consistent as possible.
* Use int (ioctl)(...) rather than int ioctl(...) so that ioctl can be definedimp2002-03-221-1/+6
| | | | | | | | as a macro w/o messing things up. This is really an abuse and we will back this out as soon as the abusers have been fixed. Add a comment to this effect. With this change, the XFree86-4 port now builds.
* Use td_ucred in several trivial syscalls and remove Giant locking asjhb2002-03-221-32/+16
| | | | appropriate.
* Fix the style of the SCM ID's.obrien2002-03-22408-795/+970
| | | | I believe have made all of libc .c's as consistent as possible.
* Use explicit Giant locks and unlocks for rather than instrumented ones forjhb2002-03-221-6/+5
| | | | | | code that is still not safe. suser() reads p_ucred so it still needs Giant for the time being. This should allow kern.giant.proc to be set to 0 for the time being.
* Typo (if => of).wollman2002-03-221-1/+1
|
* Add a word of caution about integer arithmetic range and overflow detection.wollman2002-03-221-0/+6
|
* Fix a few formatting brainos and make the formatting of the EXAMPLESwollman2002-03-221-6/+9
| | | | section somewhat clearer.
* Actually install the moduli(5) man page.des2002-03-221-1/+1
|
* Install static and profiled libraries with -C.des2002-03-221-2/+2
|
* Make expr POSIX-compliant, and fix some bugs. Specifically:wollman2002-03-222-104/+215
| | | | | | | | | | | | | - expr must conform to the Utility Syntax Guidelines, so use getopt() to eat the (non-existent) options. - Use the Standard type intmax_t for arithmetic. - If an argument cannot be *completely* converted to an integer, then it is a string. Additionally make some style cleanups near the modified lines. This utility is still not completely style-compliant.
* Use char foo[] = "BAR" to avoid direct assignment of const char * into char *.alfred2002-03-221-2/+4
| | | | | | rpcgen can't really make those fields const because the remote side might want to munge them, so we need to pass non-const in. Hackish, but should work.
* Const fix.alfred2002-03-221-1/+1
|
* Merge from TrustedBSD MAC branch:rwatson2002-03-226-13/+38
| | | | | | | | | | | | | | Move the network code from using cr_cansee() to check whether a socket is visible to a requesting credential to using a new function, cr_canseesocket(), which accepts a subject credential and object socket. Implement cr_canseesocket() so that it does a prison check, a uid check, and add a comment where shortly a MAC hook will go. This will allow MAC policies to seperately instrument the visibility of sockets from the visibility of processes. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Remove cast that's not needed.alfred2002-03-221-1/+1
|
* Update SCM ID.obrien2002-03-221-2/+2
|
* Note that -n is non-standard.obrien2002-03-221-1/+3
|
* WARNS from 3 to 4. still some warnings about assigning const char * toalfred2002-03-221-1/+1
| | | | char *, but we'll fix those later.
* Back out last commit (rev 1.2). I thought I caught this file in timeobrien2002-03-221-1/+1
| | | | when deP'ing. But I guess not.
* rename 'enum res' and 'struct status' to 'enum sm_res' and 'struct sm_status'alfred2002-03-222-6/+6
| | | | to avoid -Wshadow warnings in consumers of its generated header files.
* constify log_from_addr() parameter.alfred2002-03-221-2/+2
|
* Constify the first arg to callrpc(3).alfred2002-03-222-2/+2
|
* MFen 1.4ue2002-03-221-8/+31
|
* DESTDIR does not anymore does the -I${DESTDIR}/usr/include magicru2002-03-221-4/+4
| | | | | | in <bsd.prog.mk> and <bsd.lib.mk>. Reviewed by: luigi
* This library uses its own versions of some of the system headers.ru2002-03-221-3/+3
| | | | | Protect against CFLAGS having -I/usr/include listed explicitly. The real solution would be to fix the library. XXX
* Prevent icmp_reflect() from calling ip_output() with a NULL routeru2002-03-223-9/+8
| | | | | | | | | | | | | | pointer which will then result in the allocated route's reference count never being decremented. Just flood ping the localhost and watch refcnt of the 127.0.0.1 route with netstat(1). Submitted by: jayanth Back out ip_output.c,v 1.143 and ip_mroute.c,v 1.69 that allowed ip_output() to be called with a NULL route pointer. The previous paragraph shows why this was a bad idea in the first place. MFC after: 0 days
* When "cloning" a pipe's buffer bcopy the data after dropping the pipe'salfred2002-03-221-2/+2
| | | | lock as the data may be paged out and cause a fault.
* Add [MERGED] tag things to some items in the kernel section that shouldbmah2002-03-222-32/+28
| | | | | | | have had them, but didn't. While I'm here, do some general cleanup, including typo fixes, some rewrites, and consolidation of some related entries.
* only read from the possibly bad address if we did not get a machinegallatin2002-03-221-1/+1
| | | | | | | check. I don't know how this went unnoticed for so long. obtained from: NetBSD MFC after: 7 days
* No need to cast; ().gr_gid is already the correct type.markm2002-03-221-1/+1
|
* Allow SMP kernels (like GENERIC..) to boot on UP kernels on the alpha.gallatin2002-03-221-1/+1
| | | | Pointy hat to: jeff
* Add myself to the calendar.ceri2002-03-221-0/+1
|
* In sysctl, req->td is believed always to be non-NULL, so there's no needrwatson2002-03-221-20/+14
| | | | | | | | | | | | | | to test req->td for NULL values and then do somewhat more bizarre things relating to securelevel special-casing and suser checks. Remove the testing and conditional security checks based on req->td!=NULL, and insert a KASSERT that td != NULL. Callers to sysctl must always specify the thread (be it kernel or otherwise) requesting the operation, or a number of current sysctls will fail due to assumptions that the thread exists. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs Discussed with: bde
* Null one-line entry to resurrect this from the Attic. The real commitmarkm2002-03-221-0/+1
| | | | will follow.
* Since cred never appears to be passed into the securelevel calls asrwatson2002-03-221-2/+2
| | | | | | | | | | | | | | NULL, turn warning printf's into panic's, since this call has been restructured such that a NULL cred would result in a page fault anyway. There appears to be one case where NULL is explicitly passed in in the sysctl code, and this is believed to be in error, so will be modified. Securelevels now always require a credential context so that per-jail securelevels are properly implemented. Obtained from: TrustedBSD Project Sponsored by: NAI Labs Discussed with: bde
* This commit was generated by cvs2svn to compensate for changes in r92948,markm2002-03-2213-0/+2778
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import NETBSD's sort(1). This will be a replacement formarkm2002-03-2214-159/+3068
| | | | | | | | our GNU sort, as discussed 6 months or more ago.
| * Import the NetBSD 1.5 RC system on a vendor branch.obrien2001-06-222-176/+57
| |
* | Revision 1.45 of gnu/usr.bin/man/man.c obviated the need to linkru2002-03-221-0/+2
| | | | | | | | | | | | | | | | | | manpages in machine-specific subdirectories (like man4/i386/) to "../". This change didn't propagate here resulting in a loss of whatis(1) database entries. Fix this. Reviewed by: tobez MFC after: 1 week
* | SCM ID tweak.obrien2002-03-222-2/+0
| |
* | Remove multi-line __P() usage.obrien2002-03-2230-143/+129
| |
* | Install a sample /usr/share/examples/smbfs/dot.nsmbrc.roam2002-03-221-1/+11
| | | | | | | | | | | | | | | | PR: 35649 Reported by: Johann Frisch <jerfa@yahoo.com> Reviewed by: bp Approved by: bp, silence on -doc MFC after: 1 week
OpenPOWER on IntegriCloud