Commit Graph

8688 Commits

Author SHA1 Message Date
matt 875074d9fa Make sure to update root.cache too. 2008-07-23 07:43:12 +00:00
lukem 9c1945664c Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 13:36:57 +00:00
gmcgarry 76056ad0a3 Replace gcc initialisers with c99 initialisers. 2008-07-21 12:44:25 +00:00
martin a2e6cc1ff2 UBC license does not require an advertizing clause any more - this files
where probably missed in the initial sweep due to strange formatting
(last clause not explicitly numbered).

FreeBSD converted them (rev. 1.21 pf rarpd.8 and rev 1.41 of rarpd.c
in their repository), nearly four years ago.
2008-07-21 12:30:33 +00:00
apb 4ce9a85c41 man page fixes from PR 39164. 2008-07-18 21:03:03 +00:00
christos c709bea66c Use htonl like ping/traceroute6 do, from Markus Mayer 2008-07-17 19:23:17 +00:00
drochner 1914237fbe include <stdlib.h> explicitely, for exit(), getprogname() etc.
(it happens to be pulled in by the yacc skeleton, but we shouldn't
rely on this)
2008-07-17 16:24:55 +00:00
christos 53bc7350a9 PR/39157: Markus Mayer: traceroute not 64 bit aware (struct timeval issue) 2008-07-16 21:34:16 +00:00
kardel fbcf7d7188 make mkver fetch the date information from src/usr.sbin/ntp/importdate
in order to achieve consistent version strings across all builds
2008-07-16 20:53:56 +00:00
perry 12308daaf8 Remove another source of date/build user/build host that I hadn't
caught on the last sweep.
2008-07-16 16:07:42 +00:00
perry d44cd616e7 Don't include build date information in the binaries any more.
Also don't include "build iteration" information.

Part of the effort to make builds from bit-identical sources result in
bit-identical binaries.
2008-07-15 18:28:10 +00:00
perry 4f4b3cb945 Per christos, s/$$(.*)/unknown/ -- i.e., remove the builder, host and
date of the build from the binaries.

Another step in making builds of bit-identical sources yield
bit-identical binaries.
2008-07-15 18:10:50 +00:00
perry 6bc17775e4 Remove __DATE__ and __TIME__ from usage().
This makes successive builds bit identical. The build date and time is
not very useful for debugging purposes.
2008-07-15 17:51:38 +00:00
dholland 16e3bec279 Clarify how one is supposed to use the pointers returned by getutentries()
(the utmpentry.c code), specifically with respect to who owns them and
when to free them. Now they're owned by utmpentry.c, only. Abolish the
freeutentries() function, which was the wrong abstraction; add instead
endutentries(), which flushes out the internally managed memory.

Update callers as necessary. Some (e.g. talkd) had been leaking memory;
others (e.g. syslogd) had been accidentally freeing and reloading utmp
more often than necessary. There are a couple untidy bits in users and
rwhod that someone should look after sometime, maybe.

Fixes PR bin/35131, which was about talkd's memory leak.
2008-07-13 20:07:48 +00:00
dholland 1d33f98b45 Correct improper escaping of regular expressions in string constants in
awk code. Noted by Aleksey Cheusov in tech-userlevel.
2008-07-13 15:34:16 +00:00
ad 61c0605342 Don't define ISC_PLATFORM_HAVEXADDQ if i386. It only works on the Pentium
or later - and I figured only ZFS would end up using it...
2008-06-23 09:19:34 +00:00
wiz 98c9474675 Use Xr instead of Nm. 2008-06-23 06:52:43 +00:00
dholland ba135a4729 Avoid zooming off the end of a malloced region. Makes rtsol{,d} -a work.
From Dave Huang in PR bin/38282.
2008-06-23 04:55:27 +00:00
ad c24177ce10 Some more text. 2008-06-22 21:47:30 +00:00
wiz ce55a7f589 Bump date for previous. 2008-06-22 14:51:45 +00:00
wiz f244e7522e Bump date for previous. Drop trailing whitespace. Improve formatting. 2008-06-22 14:50:40 +00:00
wiz 24bd7d6b65 Drop trailing whitespace. 2008-06-22 14:47:13 +00:00
ad 44eb18fda8 Add a dumb, mostly Solaris-compatible psrset command. It's missing some
options. Without it there's no easy way to test or use processor sets.
2008-06-22 13:53:59 +00:00
christos 2d315ce390 netbsd rcsid. 2008-06-22 13:23:50 +00:00
christos 89a537219f make this compile again. 2008-06-22 13:23:05 +00:00
ad 998b5a2fd0 Fix a race with the xadd functions. 2008-06-22 09:42:56 +00:00
christos 08aeee04f0 not everyone has atomic_add_64. 2008-06-22 00:14:06 +00:00
matt b35d3ac323 Add multiple inclusion protection. Include <isc/types.h> 2008-06-21 23:57:25 +00:00
christos a3695a098a use our atomic functions. 2008-06-21 22:53:06 +00:00
christos 426f20381b adjust for 9.5.0 2008-06-21 18:59:36 +00:00
peter 430b2da1d5 Install /etc/pf.os with 444 permissions.
Modify postinstall(8) to always upgrade /etc/pf.os.

Suggested by Luke Mewburn in PR/35188.
2008-06-20 17:04:45 +00:00
yamt fff57c5525 merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@.  requested by core@
2008-06-18 09:06:25 +00:00
rmind 481ae1556f - Add general cpuset macros.
- Use kcpuset name for kernel-only functions.
- Use cpuid_t to specify CPU ID.
- Unify all cpuset users.

API is expected to be stable now.
2008-06-16 01:41:20 +00:00
rmind 1ce83e28f1 Sync with the latest cpuset changes. 2008-06-16 00:33:24 +00:00
rmind 4f3b567e80 Sync with the latest cpuset changes. 2008-06-15 23:30:51 +00:00
christos fdc568177c Fix bogus debugging code. 2008-06-15 18:33:32 +00:00
explorer 884b12291f install named-compilezone as a symlink to named-checkzone 2008-06-12 07:57:36 +00:00
christos b7748ce1d5 change HUMAN_NUMBER back to 5 2008-05-31 12:48:41 +00:00
christos c2a7e74ac0 remove stray ` 2008-05-30 21:53:21 +00:00
christos 6cb1513d20 - fix an amd cache entry.
- merge tables
- support phenom
from Paul Goyette
2008-05-30 18:49:03 +00:00
christos ab8d9f698c de-duplicated cacheinfo.h 2008-05-30 14:41:57 +00:00
christos 0bb12611f2 let us be 0.3 2008-05-30 14:23:54 +00:00
christos 77cf38f568 PR/38797: FreeBSD support from ttw plus bsd at cobbled dot net. 2008-05-30 14:19:57 +00:00
mrg c2b95373bf remove clause #3 from my license where there are no other
copyright holders involved.
2008-05-29 14:51:25 +00:00
ad 355c5b9e63 Fix busted test. 2008-05-29 11:32:07 +00:00
drochner 9ee4fa1d83 kill license clauses 3 and 4 2008-05-26 12:15:42 +00:00
wiz 20eb39d315 Sort options in usage. 2008-05-26 08:15:37 +00:00
dholland e62b84ba61 When running a builtin service (a what? yeah, a piece of useless
legacy code), if the builtin service forks (not all do), avoid leaking
listening sockets into the child process.

If the child process were to keep copies of the listening sockets
around and then hang about for a long time, it would prevent inetd
from being able to re-bind them upon restart.

The listening sockets are tagged close-on-exec, but that doesn't help
when one doesn't exec.

Patch from my own very old PR 8253.
2008-05-26 03:41:25 +00:00
ad e25a4f7edc Allow starting a new process with the specified parameters. For example:
# schedctl -C SCHED_FIFO top
2008-05-25 23:22:16 +00:00
christos 1c8ebda697 remove printf when the sensor has no statistics; requested by xtraeme. 2008-05-25 20:03:05 +00:00