bcook
fca7f5a866
added handler for an atfork hook from kettenis@
ok deraadt@ beck@ kettenis@
10 years ago
deraadt
52e978a9d8
tidy up the script
10 years ago
miod
d1cf88ea26
Apparently people updating this no longer fix the DOW and the minute and
seconds values in the announcement timestamps. Damn youngsters.
10 years ago
deraadt
c3a6ab0d79
crank to 5.6-beta
10 years ago
miod
0627e39b9d
Remove ppi (hp300 leftover)
10 years ago
sthen
df49f6c562
add port entries for quagga from the documentation, ok ajacoutot@
/etc/services file moved from etc to base so is no longer really
user-editable as changes will be overwritten at update time
10 years ago
sthen
afb116c353
conserver moved port, ok ajacoutot@
10 years ago
deraadt
63edfe2d88
BSD.local.dist went away
10 years ago
ajacoutot
d65c2f0adb
/var/db/sysmerge -> /usr/share/sysmerge
ok deraadt@
10 years ago
espie
c0a8ea5276
folded back into 4.4BSD.dist
removed to unconfuse devs
okay aja, theo
10 years ago
deraadt
51fcfd90fc
new dir /usr/share/sysmerge
10 years ago
deraadt
d5c05ae2f9
correct dir
10 years ago
sthen
03593f6125
add /usr/local/lib/pkgconfig to mtree, ok espie@ jasper@
10 years ago
deraadt
8d60b9304c
sysctl.conf moves to etc/examples
10 years ago
ajacoutot
71b35ac49d
Add shebang to make it clear these files are shell scripts (they are
explicitely executed by sh(1)).
discussed with deraadt@
10 years ago
ajacoutot
d7bed9d58a
quiet /etc/rc.shutdown, it may not exist.
ok deraadt@
10 years ago
ajacoutot
f6d70a88c8
This isn't C.
10 years ago
ajacoutot
7edabab9f8
Only set kern.securelevel=1 if it was not lowered nor bumped by
rc.securelevel,
with deraadt@
10 years ago
ajacoutot
60cf083fe4
Consistency.
10 years ago
ajacoutot
85bae20714
Do not output anything by default, to be consistent with the other
site-specific rc.* files, the comment is enough.
ok deraadt@
10 years ago
ajacoutot
7648d2dc9b
/etc/rc already takes care of creating /var/run/utmp.
ok deraadt@ giovanni@
10 years ago
deraadt
68f7c0883b
rc.{local,securelevel,shutdown} become examples. If versions of them
are created in /etc, they are executed (they used to be sourced) to
avoid polluting the rc variable space. The powerdown= and securelevel=
features are removed; they are likely only used by 2 people. the
secureleve is now always raised; this is the only sensible default.
ok ajacoutot
10 years ago
pelikan
c78cad8ccc
international currency locale rules as per POSIX.1-2008
required for libc++
ok guenther afresh1
10 years ago
guenther
fbc71be3ba
Update for arc4random and syslog changes
10 years ago
deraadt
2dfe92794b
check for existance of rc.shutdown, before sourcing it
10 years ago
deraadt
f135be3190
enter libressl for make includes
10 years ago
tedu
1d810a359a
include stdint.h for standard ints. from Jean-Philippe Ouellet
10 years ago
claudio
3234bbf1ae
Add iscsid_flags to rc.conf so we do not try to start iscsid all the time.
Noticed by naddy@
10 years ago
tedu
37a5836398
oops, i deleted the wrong word
10 years ago
tedu
13ffbefb0f
remove a lie spotted by guenther
10 years ago
tedu
d3e68c8356
once srandomdev() is called, switch to using arc4random() but mask off the
high bit as required by posix. wouldn't want to break any standards.
idea and ok deraadt
10 years ago
rpe
9bc3ff3e5f
- move the ntpd.conf file to examples directory
- move it from BIN1 to EXAMPLES in src/etc/Makefile
- change the installer to create the file instead of editing it
- add a '+' to the corresponding changelist entry
suggested by and OK deraadt@
OK for the installer change krw@
10 years ago
deraadt
1efcd9909f
Use dl_iterate_phdr() to iterate over the segments and throw the addresses
into the hash; hoping the system has some ASLR or PIE. This replaces and
substantially improves upon &main which proved problematic with some picky
linkers.
Work with kettenis, testing by beck
10 years ago
deraadt
757bd836f8
Provide a link to the canonical API specification.
ok beck
10 years ago
ajacoutot
4287f8a51a
Mismatch between the sets list and what's in DESTDIR should not be fatal
to sysmerge sum files generation.
discussed by deraadt@
10 years ago
ajacoutot
0dc60495c0
Install some config files with mode 0600 as they were before the move to
/etc/examples.
ok deraadt@
10 years ago
claudio
5d638f514c
rc bits for iscsid. Start iscsid as early as possible. Use the new -N
flag for fsck and mount to check and mount the iscsi file systems (marked
with option net) right after the mount -a.
"Get it in" deraadt@
rpe@ is OK with this going in but it may need further changes
10 years ago
claudio
6ff056777f
Add iscsid to the rc.d files to install
10 years ago
claudio
1368d9b148
rc.d script for iscsid.
10 years ago
beck
6289d57278
While we thought this would make portable life easier it actually
makes it much harder.
ok bcook@ kettenis@
10 years ago
beck
7f965a2eac
Take away the use of the address of main as a source of entropy. Causes
distractions to people testing and seeing link errors in some setups.
This will come back in another form
ok deraadt@
10 years ago
ajacoutot
e89bd4d1a0
egsum -> examplessum to make it more obvious.
req. by deraadt@
10 years ago
ajacoutot
e17286978f
Simplify checksum generation for sysmerge.
no objection from deraadt@
10 years ago
wouter
455c599158
getentropy on Windows. It compiles but has not been thoroughly tested yet.
OK: beck@
10 years ago
wouter
ca0c9eb852
Remove signed/unsigned warning, statement before declaration and
add a function to use function pointers that does not take sizeof(fptr).
OK beck@
10 years ago
miod
9b1d48d8cc
Remove private_{Camellia,RC4}_set_key FIPS indirection tentacles, as has been
done for other symmetric algorithms recently.
10 years ago
deraadt
30150934f0
Wrap "thread_private.h" with #ifdef __OpenBSD__ so that other systems
can copy this file (plus chacha_private.h) directly and reuse it
trivially. Well, as long as they have a getentropy() as well..
ok beck
10 years ago
guenther
0086861d08
Tackle the endian.h mess. Make it so that:
* you can #include <sys/endian.h> instead of <machine/endian.h>,
and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first)
* those will always export the symbols that POSIX specified for
<endian.h>, including the new {be,le}{16,32,64}toh() set. c.f.
http://austingroupbugs.net/view.php?id=162
if __BSD_VISIBLE then you also get the symbols that our <machine/endian.h>
currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)
* when doing POSIX compiles (not __BSD_VISIBLE), then <netinet/in.h> and
<arpa/inet.h> will *stop* exporting the extra symbols like BYTE_ORDER
and betoh*
ok deraadt@
10 years ago
ajacoutot
1a81db2985
cksum -> sha256
That means sysmerge(8) may be a little more interactive the next time you
run it.
10 years ago
beck
279cc5b646
guard inclusion of sys/sysctl.h so we can detect at compile time and
keep linux distros happy that don't have it.
ok bcook@
10 years ago