summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't assume that hp->h_lenght == 4. Be conservative in its use.imp1998-06-096-31/+45
| | | | Submitted by: J. Assange a long time ago.
* o Use snprintf rather than sprintf.imp1998-06-093-11/+12
| | | | | | o Revert gid to caller before a shell so we can run setgid. o minor style nits to make bruce happy :-) o use strncpy correctly.
* Use mkstemp rather than mktemp for yacc's temp files. This change was madeimp1998-06-091-7/+20
| | | | | to OpenBSD a long time ago and to my tree shortly thereafter. I think theo made this change, or one similar to it, but I could be wrong.
* o Use snprintf rather than sprintfimp1998-06-098-23/+32
| | | | | | | | | | | o Add more checks for buffer overflows o Use snprintf rather than strcat/cpy and have better checks for max length exceeded. Most of these changes are not exploitable buffer overruns, but it never hurts to be safe. Inspired by and obtained from: OpenBSD
* o Use snprintf over sprintf.imp1998-06-092-13/+17
| | | | | | | o Use strncpy correctly. o Use enough buffer for line. Inspired by or Obtained from: Similar changes in OpenBSD
* Make sure we pass the length - 1 to readlink, since it adds its ownimp1998-06-092-4/+4
| | | | | | NUL at the end of the path. Inspired by: OpenBSD's changes in this area by theo de raadt
* $@ is deprecated, use ${.TARGET} instead. Ditto for other single characterimp1998-06-094-9/+9
| | | | | $n. PR: conf/3273
* Make sure we don't overflow the path buffer. Exit if we do.imp1998-06-091-2/+4
| | | | Obtained from or inspired by: A similar change in OpenBSD by theo
* Make sure we pass the length - 1 to readlink, since it adds its ownimp1998-06-093-10/+8
| | | | | NUL at the end of the path. Inspired by: OpenBSD's changes in this area by theo de raadt
* Updated generated files.bde1998-06-096-34/+3
|
* Don't generate COMPAT_43 cruft if there are no COMPAT_43 syscalls.bde1998-06-091-12/+18
| | | | | | | | In particular, don't generate an include of "opt_compat.h" if it wouldn't affect anything we create. This will fix recent breakage of the ibcs2 LKM. The ibcs2 syscall files were not regenerated properly, so the LKM didn't break immediately when we started generating this extraneous include.
* Include "opt_compat.h" explicitly instead of depending onbde1998-06-092-4/+4
| | | | | | | makesyscalls.sh generating it as pollution. Don't attempt to separate the includes by newlines. makesyscalls.sh just ignores newlines.
* Fixed `make depend', which I broke here about a month ago by movingbde1998-06-092-4/+6
| | | | | | the null default for `depend' from bsd.dep.mk to bsd.obj.mk. bsd.kmod.mk included these files in a bad order, so it picked up the null default.
* The version of the softdep changes in FreeBSD broke thejulian1998-06-081-4/+7
| | | | | | | | (doingdirectory && !newparent) case of ufs_rename(). rename("D1/X/", "D2/Y/") gives a wrong link count for D2. Submitted by: Bruce Evans <bde@zeta.org.au> Reviewed by: Kirk McKusick <mckusick@McKusick.COM>
* - Added entry for Xircon CreditCard Modem.nate1998-06-082-2/+16
| | | | Submitted by: "Mike Del" <repenting@hotmail.com>
* My previous change could conceivably succeed at removing CHROOTDIR.jdp1998-06-081-2/+2
| | | | Ignore errors from the chflags command that follows it, just in case.
* Don't let ifunit() modify the string passed as an argument.julian1998-06-081-16/+26
| | | | it may be in the text segment and write protected.
* Correct ``set server'' usage and add mention that ``set ns'' changedbrian1998-06-082-4/+5
| | | | | in README.changes. Suggested by: stuart henderson <stuart@internationalschool.co.uk>
* Remove some junk left over from a previous commit.dyson1998-06-082-12/+2
| | | | Submitted by: phk
* Print the write counts if they are nonzero even if we're mountedbde1998-06-082-8/+6
| | | | | | readonly, since they tell us about previous write activity. Use the correct format to print the write counts.
* Updated generated files.bde1998-06-088-807/+807
|
* Fixed some style bugs in output (missing tabs and unparenthesized macros).bde1998-06-081-31/+30
| | | | Fixed some style bugs in source (mostly, superfluous backslashes).
* Add LIB_SPEC (same as on i386) so that gcc knows about libc_r.jb1998-06-081-0/+4
|
* Fixed pedantic semantics errors (bitfields not of type int, signed intbde1998-06-0821-187/+187
| | | | | | | or unsigned int (this doesn't change the struct layout, size or alignment in any of the files changed in this commit, at least for gcc on i386's. Using bitfields of type u_char may affect size and alignment but not packing)).
* Fix more of my DDB breakage.dfr1998-06-082-6/+6
|
* Fix a typo which prevented i386 elf from working at all (including Linuxdfr1998-06-081-2/+2
| | | | emulated elf binaries).
* Correct even more ioctl breakage :(sos1998-06-089-9/+9
| | | | | Doesn't people check their code before committing anymore, it could at least compile ????
* Sync with sys/i386/isa/clock.c revision 1.123.kato1998-06-083-3/+9
|
* Merge 64bit portability fixes from sys/i386 stuff.kato1998-06-0814-37/+37
|
* Fixed pedantic semantics errors (bitfields not of type int, signed intbde1998-06-081-39/+39
| | | | | or unsigned int (don't do this in one case where it would change the object file)).
* Make DDB work again after I broke it :-(.dfr1998-06-083-6/+6
|
* Add rcsid, remove unused #includes. Use err(3).charnier1998-06-081-22/+22
|
* Fix spelling in printf().jkoshy1998-06-082-4/+4
|
* Use warnx()+fprintf() to handle multi-line messages. Correct K&R support andcharnier1998-06-082-24/+20
| | | | | KNF continuation indent rule. Requested by: Bruce.
* Updated yet another ioctl, and put wst in LINT to inhibit further bitrot.bde1998-06-085-7/+16
|
* Spelling fixes.jkoshy1998-06-0832-76/+76
| | | | | Submitted by: Josh Gilliam <josh@quick.net> PR: 6880
* ip_fil.h has 9 separate declarations of iplioctl() in a disgustingbde1998-06-084-10/+16
| | | | | | | | ifdef tangle. The previous commit to ip_fil.h didn't change the one that actually applies to the current FreeBSD kernel, of course. Fixed. Fixed style bugs in previous commit to ip_fil.h.
* Reword to remove confusion between su(1)'s "-c" option and that of the shelljkoshy1998-06-081-9/+16
| | | | | | being invoked. Add example that clarifies usage of "-c". PR: 6859
* Disable attempted write combining support. This probablydyson1998-06-081-1/+3
| | | | causes more trouble than help (for now.)
* Fixed an ioctl which grew overnight.bde1998-06-081-2/+2
|
* Backed out previous commit, which just consisted of a 1-byte editingbde1998-06-081-2/+2
| | | | error.
* Fixed missing ifdefs and disordering in previous commit.bde1998-06-081-2/+6
|
* Fixed ifdef bogotification in previous commit.bde1998-06-081-7/+2
|
* Fix typo: exit -> existdanny1998-06-081-2/+2
|
* Speed up the cleaning of CHROOTDIR by almost a factor of two, byjdp1998-06-071-1/+4
| | | | | replacing two monstrous file tree walks with one monstrous tree walk and two miniscule ones.
* Add a member function more to the timecounters, this one is for usephk1998-06-0710-20/+89
| | | | | with latch based PPS implementations. The client that uses it will be committed after more testing.
* Fix another DEVFS/SLICE ioctl.dfr1998-06-071-2/+2
|
* This is a prototype implementation of the draft-mogul-pps-api-##.txtphk1998-06-075-53/+218
| | | | | | | | | paper. It will be updated along with the draft and possible subsequent standard. The ppbus based pps driver is updated to implement this API.
* Fix some more ioctls which I missed becausese they were hidden by optionsdfr1998-06-077-16/+16
| | | | which were not in LINT.
* Fix the retyping of the ioctl cmd parm from int to u_long.sos1998-06-071-2/+2
|
OpenPOWER on IntegriCloud