Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The GCC 2.96 snapshots have slightly different rules for finding include | obrien | 2000-12-01 | 2 | -2/+2 |
| | | | | | | | files. Mostly -I${.CURDIR} was needed -- especially for YACC generated files as the new cpp does not look in the ultimate source file (ie, the .y file)'s directory as told by the "#line" directive. Some were misspellings of "-I${.CURDIR}" as "-I.". | ||||
* | o Make comment match reality, synch code with comment. | rwatson | 2000-11-30 | 1 | -2/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | o In practice: the comment indicates that all but umask and environmental variables of the users login class are applied when su occurs, unless -m is used to specify a class. This was incorrect; in practice, the uid, gids, resources, and priority were set, and then resources and priority were selectively removed. This meant that some aspects of the user context were not set, including handling of login events (wtmp, utmp), as well as the path specified in login.conf. o I changed it so that the behavior is the same, but instead, LOGIN_SETALL is used, and appropriate flags are removed, including the LOGIN_SETLOGIN and LOGIN_SETPATH entries that were implicitly not present before. I also updated the comment to reflect reality, selecting reality as the "correct" behavior. o This has the practical benefit that as new LOGIN_SET* flags are introduced, they are supported by su unless specifically disabled. For example, of a LOGIN_SETLABEL flag is introduced to support MAC labels determined by the user's login class, then su no longer has to be modified. o It might be desirable to have su use LOGIN_SETPATH depending on its command line parameters, as it might or might not be considered part of the "environment". Obtained from: TrustedBSD Project | ||||
* | Format string paranoia. This should avoid potential buffer overflows from | will | 2000-11-30 | 3 | -13/+29 |
| | | | | | | user input (in its ever-broadening definition). Obtained from: NetBSD | ||||
* | If the transfer timed out, but we don't know how large the file is supposed | des | 2000-11-30 | 1 | -1/+10 |
| | | | | to be, assume it was truncated. | ||||
* | Make use of the full screen width to display p_comm rather than assuming a | jhb | 2000-11-29 | 1 | -3/+6 |
| | | | | hardcoded screen width of 80 chars. | ||||
* | Display the name of the mutex we are blocked on in the state field. To | jhb | 2000-11-29 | 1 | -0/+6 |
| | | | | | | | differentiate mutex names from wait channel names, prefix mutex names with an asterisk. Submitted by: Dan Nelson <dnelson@emsphone.com> | ||||
* | Xref make.conf(5), and point to /usr/share/doc/psd/12.make for the | nik | 2000-11-29 | 1 | -1/+4 |
| | | | | tutorial paper. | ||||
* | Eliminate groff(1) warnings. | ru | 2000-11-29 | 1 | -27/+28 |
| | |||||
* | Eliminate groff(1) warnings caused by vgrind(1). | ru | 2000-11-29 | 1 | -4/+6 |
| | |||||
* | Fix a typo and a punctuation mistake, the two of which conspired | sheldonh | 2000-11-29 | 1 | -2/+2 |
| | | | | against the reader. | ||||
* | Add LIBCRYPT to DPADD. | marcel | 2000-11-28 | 1 | -1/+1 |
| | | | | Implied by: bde | ||||
* | Format string auditing | kris | 2000-11-27 | 1 | -2/+2 |
| | |||||
* | *** empty log message *** | kris | 2000-11-27 | 1 | -1/+1 |
| | |||||
* | Constify | kris | 2000-11-27 | 1 | -1/+1 |
| | |||||
* | Fix format string warnings. | kris | 2000-11-27 | 1 | -1/+1 |
| | | | | | Submitted by: nra Obtained from: NetBSD | ||||
* | Cleanup this code a bit by attempting to sync it up with NetBSD and | kris | 2000-11-26 | 2 | -26/+33 |
| | | | | | | with each other. Reviewed by: markm, dwmalone | ||||
* | Use the vendor's manpages (which are in old -man format) rather than | obrien | 2000-11-26 | 3 | -631/+16 |
| | | | | our modified one based on a much older version of the vendor's manpage. | ||||
* | Correct definition of MAXHOSTNAMELEN in ifdef'ed code. | kris | 2000-11-26 | 1 | -1/+1 |
| | | | | | Submitted by: Edwin Groothuis <mavetju@chello.nl> PR: bin/22787 | ||||
* | Constify | kris | 2000-11-26 | 3 | -2/+2 |
| | |||||
* | vsprintf() -> vsnprintf() | kris | 2000-11-26 | 1 | -1/+1 |
| | |||||
* | o Make systat/vmstat.c use sysctl() to retrieve cp_time, bufspace, | rwatson | 2000-11-25 | 1 | -29/+50 |
| | | | | | | | | | | maxvnodes, numvnodes, freevnodes, nchstats, and numdirtybuffers. o Make the hw.ncpu error checking code a little more rigorous by sanity checking the returned data size. o Didn't fix machine-dependent non-sysctl-exported variables: intrnames, eintrnames, intrcnt, eintrcnt, as these variables are defined and exported from machine-dependent kernel code in assembly. This should probably be fixed somehow. | ||||
* | o make systat/pigs.c use syctl() to retrieve cp_time, fscale, and ccpu | rwatson | 2000-11-25 | 1 | -27/+32 |
| | | | | instead of using kmem. | ||||
* | o Make systat/iostat.c use sysctl() to retrieve cp_time instead of | rwatson | 2000-11-25 | 1 | -23/+9 |
| | | | | kmem. | ||||
* | o Make systat use sysctl() to retrieve hz and stathz, instead of | rwatson | 2000-11-25 | 1 | -19/+14 |
| | | | | using kmem. | ||||
* | Reimplement the groff(1) warnings elimination fixes in a better way. | ru | 2000-11-24 | 2 | -10/+5 |
| | |||||
* | [rsh.1] Document the `-4' and `-6' options. | jkoshy | 2000-11-24 | 2 | -2/+6 |
| | | | | [rsh.c] Make usage message match the code. | ||||
* | [rlogin.1] Document the `-4' and `-6' options. Correct a typo. | jkoshy | 2000-11-24 | 2 | -3/+7 |
| | | | | [rlogin.c] Make the usage message match the code. | ||||
* | Eliminate groff(1) warnings. | ru | 2000-11-23 | 2 | -2/+20 |
| | |||||
* | kenv(1) first appeared in FreeBSD 4.1.1, not FreeBSD 5.0. | ben | 2000-11-23 | 1 | -1/+1 |
| | | | | | PR: 23020 Submitted by: Simon Dick <simond@irrelevant.org> | ||||
* | Use correct macro for path name | phantom | 2000-11-22 | 1 | -1/+1 |
| | | | | PR: docs/13218 | ||||
* | Create temporary files in a secure directory, instead of using multiple | kris | 2000-11-22 | 2 | -7/+9 |
| | | | | | | | filenames based on a single invocation of mktemp() in /tmp, which is easily predictable after the first one. Audited by: markm | ||||
* | mdoc(7) police: do not split author names in the AUTHORS section. | ru | 2000-11-22 | 7 | -2/+9 |
| | |||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 138 | -476/+482 |
| | |||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 1 | -2/+2 |
| | |||||
* | Add -lcrypt. This fixes cross-building. | marcel | 2000-11-20 | 1 | -1/+1 |
| | |||||
* | Unlink the temporary file immediately so it is removed on exit. | kris | 2000-11-19 | 1 | -19/+15 |
| | | | | Obtained from: OpenBSD | ||||
* | Fix a buffer overflow from a long local hostname. | kris | 2000-11-19 | 1 | -2/+2 |
| | | | | Obtained from: OpenBSD | ||||
* | Add/fix the ability to split a file larger than 2 gigabytes. | jwd | 2000-11-19 | 1 | -4/+6 |
| | | | | | | | | Added $FreeBSD tag (in the way the already present sccsid is done). I've been told the rcsid stuff may be of dubious value so I'm curious to know if folks (still) use it. Submitted by: Brad Chisholm <blc@bsdwins.com> | ||||
* | "minute(s) period(s)" --> "minute(s)" | mph | 2000-11-17 | 1 | -6/+6 |
| | |||||
* | mdoc(7) police: use certified section headers wherever possible. | ru | 2000-11-17 | 8 | -12/+14 |
| | |||||
* | remove trailing periods from SEE ALSO. | ben | 2000-11-15 | 4 | -4/+4 |
| | |||||
* | Spell the des's name correctly. | ru | 2000-11-14 | 2 | -2/+2 |
| | |||||
* | Use Fx macro wherever possible. | ru | 2000-11-14 | 5 | -7/+16 |
| | |||||
* | -U cannot be an option since some signals start with U. -u is the | ps | 2000-11-12 | 1 | -1/+0 |
| | | | | documented behavior so only check for that. | ||||
* | Changed variable killchar to killch and erasechar to erasech to avoid | dg | 2000-11-11 | 3 | -13/+14 |
| | | | | | | a name clash with the library functions of the same name (in libncurses). This problem was masked when building tset shared (the local symbols had precedence), but caused tset to core dump when it was built -static. | ||||
* | Avoid use of direct troff requests in mdoc(7) manual pages. | ru | 2000-11-10 | 18 | -133/+106 |
| | |||||
* | Fixed typo: .ar -> .Ar. | ru | 2000-11-10 | 1 | -1/+1 |
| | |||||
* | Install `chflags' in the root partition, NOT /usr where it is not available | obrien | 2000-11-10 | 1 | -0/+1 |
| | | | | in single user mode. | ||||
* | Fixed typo: .FL -> .Fl | ru | 2000-11-06 | 1 | -1/+1 |
| | |||||
* | .UC -> .Os | ru | 2000-11-06 | 2 | -2/+2 |
| |