sthen
b597d6355c
sync
8 years ago
tb
3a8e308438
Introduce the build user and the wobj group that will soon be used as
defaults for building the system from source.
ok deraadt
8 years ago
jmc
05dca7e1c5
the referred to EXAMPLES section is now in strncpy(3);
issue reported by scott cheloha
ok otto
8 years ago
jca
9c2475e342
Kill the /usr/include/ssl symlink
Proposed some time ago by tedu@, builk build by ajacoutot@
8 years ago
millert
05fef1fbdb
Remove /usr/libdata/perl5/site_perl, it is no longer needed.
OK tb@
8 years ago
tb
a1c8575cf9
Set owners and permissions only after all headers are installed. Add the -P
flag to chown to change the symlinks themselves instead of their targets.
Also change permissions of all symlinks, so they don't depend on the umask
during make build.
ok millert
8 years ago
rpe
f64ac427f3
Remove the obj, xobj and src directories from the base set.
The installer will create these directories during install.
So local setups will not get overwritten during upgrades.
idea from and OK deraadt@
with help from and OK tb@
feedback from and no objections halex@
8 years ago
rpe
ebfe101982
spacing
8 years ago
otto
099c1cfdb8
MALLOC_STATS tweaks, by default not compiled in
8 years ago
otto
a197637f0f
small tweak to also check canaries if F is in effect
8 years ago
tb
3ba1fb54f0
Add the -d flag to the update command, so directories are created
with 'cvs up'. Prompted by a question by patrick keshishian, diff
by Raf Czlonka.
ok phessler, jca; mild opposition from schwarze
8 years ago
otto
8119a345a7
remove some old option letters and also make P non-settable. It has
been the default for ages, and I see no valid reason to be able to
disable it. ok natano@
8 years ago
otto
ae5357c652
Pages in the malloc cache are either reused quickly or unmapped
quickly. In both cases it does not make sense to set hints on them.
So remove that option, which is just a remainder of old times when
malloc used to hold on to pages. ok stefan@
8 years ago
tb
3968c88c54
$OpenBSD$
8 years ago
otto
992807bce2
- fix MALLOC_STATS compile
- redundant cast is redundant
8 years ago
otto
03ffdf003d
fix some void * arithmetic by casting
8 years ago
otto
1255da53a3
and recommit with fixed GC
8 years ago
otto
5d783ecc04
backout for now; flag combination GC is not ok
8 years ago
jmc
1a2414b3e4
avoid sentence splicing;
8 years ago
otto
e2ace002f9
canary corruption message changed a bit
8 years ago
otto
5656d7bf98
Also place canaries in > page sized objects (if C is in effect); ok tb@
8 years ago
bluhm
356150aae5
Remove the save_errno dance inside strerror_r(3). It is from the
time when we had national language support.
OK millert@
8 years ago
rzalamena
f8b06a2b6a
Check for EAGAIN on imsg_flush() return otherwise we might be failing
to send message to the child process. Do like we learned in httpd(8).
ok deraadt@
8 years ago
rzalamena
f3735931aa
Save the constraint process pid by getting the start_child() return value,
this should fix the problem with random ntpd(8) deaths.
ok deraadt@
8 years ago
tb
e3a9a69351
Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS,
and add prereq targets, so some header files are generated by BUILDUSER
during 'make prereq' instead of by root during 'make includes'.
Switch the order of 'make cleandir' and 'make includes' during 'make build'
so we don't generate many files twice.
Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now
clean from files generated by root during 'make build'. Those will be
cleaned up in a second step.
help, testing & ok deraadt, input from natano, further testing rpe
8 years ago
dtucker
741ef92d20
Roll back uintptr_t cast changes after discussions with tedu, otto and
others.
C11 6.5.6.9 says:
When two pointers are subtracted, both shall point to elements of the
same array object, or one past the last element of the array object; the
result is the difference of the subscripts of the two array elements.
In these cases the objects are arrays of char so the result is defined,
and we believe that the report is based on a compiler incorrectly trapping
on defined behaviour.
8 years ago
guenther
71af4d5f52
Wrap _malloc_init() so internal calls go directly
prodded by otto@
ok kettenis@ otto@
8 years ago
jmc
fa0722f382
zap trailing whitespace;
8 years ago
deraadt
b6f412be05
Build the bundle of GENERIC* kernels in using the new compile metods,
and de-escalate to $BUILDUSER.
Much help from natano and tb.
8 years ago
dtucker
db6e1f035d
Cast pointers to uintptr_t to avoid potential signedness errors.
Based on patch from yuanjie.huang at windriver.com via OpenSSH bz#2608,
with & ok millert, ok deraadt.
8 years ago
otto
c00ceb22a8
0xd0 -> 0xdb; ok deraadt@ millert@ tedu@
8 years ago
reyk
138484b6d2
copy updated log.c from vmd: for correctness, save errno when doing
additional actions before printing it. OK rzalamena@
8 years ago
otto
8b706cc40e
optimize canary code a bit by storing offset of sizes table instead of
recomputing it all the time
8 years ago
reyk
0fd38ba8e4
Fixup the example for msgbuf_write() and imsg_read() to check the
error cases for -1 and 0 explicitly (it initially only checked for -1,
I updated it to also check for 0, and rzalamena@ figured out that 0
has to be checked in a differently).
OK millert@ rzalamena@
8 years ago
natano
9cfffa3764
Remove check for RELEASEDIR permissions, there are usecases where other
filesystem permissions are required.
requested by deraadt
8 years ago
natano
99f46803b9
Check that DESTDIR is on a noperm filesystem that's properly locked
down and enforce reasonable permissions for RELEASEDIR.
prodded by and ok deraadt
ok tb
8 years ago
otto
1ae413d0f7
make clear the length printed is the requested length
8 years ago
deraadt
0bf1053ddd
use better uid/gid for _switchd
8 years ago
jmc
ede9249779
grammar fix previous;
8 years ago
otto
41daf65553
document "chunk canary corrupted" error
8 years ago
otto
3eeb2e7bb1
stray tab
8 years ago
otto
2c67f40d2b
Beter implementation of chunk canaries: store size in chunk meta data
instead of chunk itself; does not change actual allocated size; ok tedu@
8 years ago
otto
bc56bde8af
first set -max limit, then -cur, otherwise if -cur si higher than the current
max, it won't be set. noted by Evgeny Grin; ok millert@
8 years ago
reyk
42edcd1a3c
Add _switchd
8 years ago
reyk
9e0f589208
Add switchd
OK deraadt@
8 years ago
reyk
b2bce7db2b
Move vmd down as VMs might need the host's dhcpd, httpd etc. on startup.
OK mlarkin@ deraadt@
8 years ago
natano
78234d860d
Print the root check error message to stderr. While there add the name
of the target to the message to be more descriptive.
ok deraadt tb
8 years ago
natano
c2efbb75c6
Build kernels as root for now. Otherwise we run into permission issues
when the source tree is not owned by ${BUILDUSER}.
ok deraadt
8 years ago
deraadt
3ed076289c
conditionally create obj & xobj same way that src is handled
ok natano
8 years ago
reyk
609593cdaf
Change switch "wireless" to another example - bridging from VM to
wireless in station mode is not supported.
8 years ago