| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/head/; revision=36808
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36807
|
| |
|
|
|
|
|
| |
to avoid recursive locking.
Notes:
svn path=/head/; revision=36806
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36805
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36804
|
| |
|
|
|
|
|
|
|
| |
Simplify the atomic lock prototype, removing the lock value.
Delete the unlock prototypes that are not required.
Notes:
svn path=/head/; revision=36803
|
| |
|
|
|
|
|
|
| |
Simplify the atomic lock to just write a value of 1 to the lock instead
of taking the value passed by the caller (which just confused things).
Notes:
svn path=/head/; revision=36802
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36801
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- don't announce `mtree' as `mtools'.
- don't install to ${DESTDIR}/usr/sbin (which often doesn't exist if
DESTDIR is set and may be read-only if DESTDIR is not set).
- install to (${WORLDTMP}/usr/sbin so that the new mtree is actually
in $PATH if DESTDIR is set.
- don't use the host make or the host sys.mk. This is probably
unimportant.
- use a temporary obj dir like the one for `make'. This was mainly
necessary because I forgot to remove the MAKEOBJDIRPREFIX unsetting
which was just a bug for mtree. A non-quick fix would handle mtree
more like a bootstrap tool (the only additional complications are to
create ${BINDIR} and avoid excessive cleaning). Except a non-quick
fix would change much more.
Notes:
svn path=/head/; revision=36800
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36799
|
| |
|
|
|
|
|
| |
PR: conf/3273
Notes:
svn path=/head/; revision=36798
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
a buffer overflow, but might negatively impact those hosts who have
enough aliases to fill MAXHOSTNAMELEN * 2 characters in them.
Good candidate for merging back into -stable. Lightly tested by me, but
it came from OpenBSD a while ago.
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=36797
|
| |
|
|
|
|
|
|
|
| |
buffer -1 since readlink adds its own NUL to the end.
Inspired by: Similar changes in OpenBSD
Notes:
svn path=/head/; revision=36796
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
use strncat correctly
check buffer size in graph_name
Change paths from /tmp to /var/run for server sockets
This has been building in my tree for ages, but has remained lightly
tested.
Reviewed by: jkh ages ago
Notes:
svn path=/head/; revision=36795
|
| |
|
|
|
|
|
|
|
| |
o Use snprintf rather than sprintf
This is only lightly tested.
Notes:
svn path=/head/; revision=36794
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36793
|
| |
|
|
|
|
|
| |
Submitted by: J. Assange a long time ago.
Notes:
svn path=/head/; revision=36792
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=36791
|
| |
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=36790
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=36789
|
| |
|
|
|
|
|
|
|
|
| |
o Use strncpy correctly.
o Use enough buffer for line.
Inspired by or Obtained from: Similar changes in OpenBSD
Notes:
svn path=/head/; revision=36788
|
| |
|
|
|
|
|
|
|
| |
NUL at the end of the path.
Inspired by: OpenBSD's changes in this area by theo de raadt
Notes:
svn path=/head/; revision=36787
|
| |
|
|
|
|
|
|
| |
$n.
PR: conf/3273
Notes:
svn path=/head/; revision=36786
|
| |
|
|
|
|
|
| |
Obtained from or inspired by: A similar change in OpenBSD by theo
Notes:
svn path=/head/; revision=36785
|
| |
|
|
|
|
|
|
| |
NUL at the end of the path.
Inspired by: OpenBSD's changes in this area by theo de raadt
Notes:
svn path=/head/; revision=36784
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36783
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=36782
|
| |
|
|
|
|
|
|
|
|
| |
makesyscalls.sh generating it as pollution.
Don't attempt to separate the includes by newlines. makesyscalls.sh
just ignores newlines.
Notes:
svn path=/head/; revision=36781
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=36780
|
| |
|
|
|
|
|
|
|
|
|
| |
(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>
Notes:
svn path=/head/; revision=36779
|
| |
|
|
|
|
|
| |
Submitted by: "Mike Del" <repenting@hotmail.com>
Notes:
svn path=/head/; revision=36778
|
| |
|
|
|
|
|
| |
Ignore errors from the chflags command that follows it, just in case.
Notes:
svn path=/head/; revision=36777
|
| |
|
|
|
|
|
| |
it may be in the text segment and write protected.
Notes:
svn path=/head/; revision=36775
|
| |
|
|
|
|
|
|
| |
in README.changes.
Suggested by: stuart henderson <stuart@internationalschool.co.uk>
Notes:
svn path=/head/; revision=36774
|
| |
|
|
|
|
|
| |
Submitted by: phk
Notes:
svn path=/head/; revision=36773
|
| |
|
|
|
|
|
|
|
| |
readonly, since they tell us about previous write activity.
Use the correct format to print the write counts.
Notes:
svn path=/head/; revision=36772
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36771
|
| |
|
|
|
|
|
| |
Fixed some style bugs in source (mostly, superfluous backslashes).
Notes:
svn path=/head/; revision=36770
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36769
|
| |
|
|
|
|
|
|
|
|
| |
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)).
Notes:
svn path=/head/; revision=36767
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36766
|
| |
|
|
|
|
|
| |
emulated elf binaries).
Notes:
svn path=/head/; revision=36765
|
| |
|
|
|
|
|
|
| |
Doesn't people check their code before committing anymore, it could
at least compile ????
Notes:
svn path=/head/; revision=36764
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36763
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36762
|
| |
|
|
|
|
|
|
| |
or unsigned int (don't do this in one case where it would change the
object file)).
Notes:
svn path=/head/; revision=36761
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36760
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36758
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36757
|
| |
|
|
|
|
|
|
| |
KNF continuation indent rule.
Requested by: Bruce.
Notes:
svn path=/head/; revision=36756
|