wiz
4b6a96229a
Standardize SYNOPSIS. Sort option descriptions and remove duplicates.
2013-12-15 09:18:14 +00:00
mlelstv
b3d56b5ecb
New -A option. Add an output column with the address of the
...
kernel object (vnode or file) that can be matched with prstat(8) output.
2013-12-15 08:16:24 +00:00
christos
7f1aab93ea
Put back the extra prototype for main(); some programs #define main to
...
something else, so we need the extra prototype.
2013-12-15 06:07:39 +00:00
christos
a54bed1665
downgrade illegal bitfield from error to warning so we can ignore it.
2013-12-15 03:43:37 +00:00
christos
0213edf018
- remove support for pre-ansi output
...
- add -B (BSD) support for c++ output macros
- group functions to make output better looking
2013-12-15 00:40:17 +00:00
wiz
d860f590d4
Fix typo ("then" instead of "than")
2013-12-09 09:35:16 +00:00
pettai
515a14aba7
fix == compatibility problem
2013-12-06 13:33:15 +00:00
mbalmer
4675096298
Nelson Mandela died today, aged 95. I whish farewell to a great statesman.
2013-12-05 22:06:13 +00:00
christos
f95f074778
we have moved.
2013-11-28 22:39:29 +00:00
christos
f7ce1bf0d8
PR/48413: Inappropriate sign extension in kdump output
2013-11-27 20:27:58 +00:00
apb
f45f136e10
Use LIST_FOREACH, LIST_NEXT, etc., instead of direct access to
...
the internals of queue.h structs.
2013-11-27 17:38:11 +00:00
joerg
f9d128e05f
Include signal.h early for MiNT and Linux. From pkgsrc.
2013-11-26 13:44:41 +00:00
rmind
df64447ca6
Remove cpu_queue (and thus eleminate another use of CIRCLEQ) by replacing
...
its uses with cpu_infos array. Extra testing by christos@.
2013-11-24 21:58:38 +00:00
dholland
a32d5d5201
Fix documentation of how to expire old messages. For some reason the
...
expiration period must be given as a negative number, indicating how
many days ago to place the expire threshold.
PR 48404 from Martin Neitzel.
2013-11-24 19:49:22 +00:00
mlelstv
ffb41b3a17
Fix fallout from circleq->tailq transition.
2013-11-24 13:13:12 +00:00
christos
30107bf0d8
Update for new pcb tailq's.
...
While here fix ipv6 pcb printing by making tcp6_dump with tcp.
XXX: Merge the inet and the inet6 code. It is silly to need to specify
-p tcp6 to print a tcp6 pcb, we already know what it is.
2013-11-23 22:01:12 +00:00
christos
e675354f1e
switch to the nv in external/bsd
2013-11-22 16:10:25 +00:00
kleink
7f9d164c04
Explicitly include <stdint.h> for uintmax_t; from Eitan Adler.
2013-11-20 17:19:14 +00:00
joerg
eb3bd1d5f0
Spell NULL pointer as NULL.
2013-11-18 19:55:59 +00:00
sjg
ca96724fac
Don't SEGV when Hash_Table is uninitialized
2013-11-14 00:27:05 +00:00
sjg
d959c16735
Don't SEGV when passed NULL for list.
2013-11-14 00:01:28 +00:00
pooka
cbdf0ef490
Support disklabel partitions on all platforms.
...
also addresses buildrump.sh issue #41 (github)
2013-11-13 17:47:27 +00:00
pooka
8b205e8660
make -m available on all platforms
2013-11-13 16:43:38 +00:00
pettai
67f944d13d
Add zfgrep that fell off from last update
2013-11-13 11:12:24 +00:00
pettai
54844dd551
Added zless(1) - comes in the lastest version of zmore(1) from OpenBSD
...
(OKed by tron@)
2013-11-12 21:58:37 +00:00
pooka
b82822977b
Handle static rump kernel base correctly.
2013-11-11 15:53:56 +00:00
christos
fe3f867991
remove unused variables
2013-11-10 17:14:25 +00:00
mrg
5517e5441c
add a row with totals for some pool statistics.
2013-11-10 05:16:10 +00:00
christos
232e5144bb
reorganize to make clear variable use.
2013-11-09 15:57:15 +00:00
dholland
0256a35b09
apostrophe's do not make plural's.
2013-11-07 18:50:46 +00:00
christos
71c18b90bc
more volatile for m68k
2013-11-07 02:06:51 +00:00
christos
b4ab7d1288
let progressmeter deal with the timeout once we've started transferring.
2013-11-03 14:45:50 +00:00
christos
422740a7f1
PR/34796: Hauke Fath: ftp does not timeout on http fetches.
2013-11-02 19:55:47 +00:00
christos
6fce9f6ad7
go back to using file:line: from uwe.
2013-11-01 21:39:13 +00:00
christos
8ae3ff1668
make config errors look more like other programs: <file>,<line>:
...
instead of <file>:<line>:
2013-11-01 17:09:59 +00:00
apb
786efef96b
Document that patterns are specified using extended regular expressions.
2013-11-01 07:49:00 +00:00
christos
4a734be04d
PR/48351: Dennis Ferguson: Fix incorrect parsing of flock flags.
...
XXX: still flock -s 0 fails with EINVAL, why?
2013-10-29 16:02:15 +00:00
njoly
9d2c3170bc
Small typo. From Michael W. Bombardieri.
2013-10-29 12:27:23 +00:00
christos
094fa0251a
Instead of guessing the suffix in the code, use the suffix list previously
...
loaded via man.conf(5). While there, zap unused iteration code.
(Franco Fichtner)
2013-10-28 23:46:17 +00:00
mbalmer
0382fd8b79
No more walk on the wild side. RIP Lou Reed.
2013-10-27 18:30:49 +00:00
wiz
6f46d26376
Remove trailing whitespace.
2013-10-27 11:38:13 +00:00
apb
e7b5d5dc5f
Explain that ${VAR:M*} will normalise the inter-word spacing.
2013-10-25 22:05:00 +00:00
apb
e1debe8414
The :C/// modifier takes an extendedregular expression.
2013-10-25 20:57:02 +00:00
christos
a64eb75968
get rid of equal(), use {s,g}etprogname().
2013-10-21 14:47:46 +00:00
christos
04908d82dd
use correct function and symbolic constants
2013-10-19 15:56:05 +00:00
christos
35be7e66a7
use new scopeid functions
2013-10-19 00:28:38 +00:00
bad
8fd869ab61
Make :drives, :display, :ignore accept fnmatch(3) patterns to specify drives.
...
Bump man page date.
2013-10-18 22:42:31 +00:00
bad
87c60cd65e
Make the -f option accept multiple address families.
...
Bump man page date.
2013-10-18 22:18:14 +00:00
christos
6e28978d84
fix unused variable warnings
2013-10-18 20:47:06 +00:00
christos
8dda6b583e
fix sequence point violations
2013-10-18 20:46:09 +00:00
christos
bdeefc61e5
more clobbering fixes.
2013-10-18 20:43:45 +00:00
christos
c3e578cfbe
fix clobbered variable
2013-10-18 20:41:58 +00:00
christos
b52ab07dd4
remove unused
2013-10-18 20:41:49 +00:00
christos
15a5bba97c
- avoid pointer gymnastics
...
- remove unused variables
2013-10-18 20:26:45 +00:00
christos
9f630f8bc1
avoid redefinitions
2013-10-18 20:19:36 +00:00
christos
30eeb0614b
don't read random garbage from the stack
2013-10-18 20:19:03 +00:00
christos
3c6b5224e0
avoid pointer gymnastics
2013-10-18 20:18:42 +00:00
christos
f49cbbddb9
avoid longjmp clobber.
2013-10-18 20:17:59 +00:00
bad
87f2ce05f1
No David, '\?' is not the del character. Broken in rev 1.21.
...
XXX pullup-5, pullup-6.
2013-10-14 22:23:22 +00:00
jnemeth
694b13b9ba
delete duplicate (and wrong) entry for Thanksgiving Day in Canada
2013-10-13 16:43:49 +00:00
christos
73da111b07
fix the rest of the lint warnings [pass 1]
2013-10-07 15:17:24 +00:00
dholland
04fb430032
Save errno around fwrite(), which can otherwise trash it; PR 47813.
...
This appears to fully resolve the problem described in the PR, even
though one might think it wouldn't.
2013-10-07 02:00:46 +00:00
dholland
603ad97a41
Merge some of the cleanup from PR 21894. Do a bit more of my own.
...
lint still squawks quite a bit, and it woudl probably be worthwhile
for someone to go through and make all the signedness consistent, but
I think I've got the valuable bits.
2013-10-07 00:16:19 +00:00
christos
8818316ba3
add more compression suffixes and local suffixes.
2013-10-06 17:14:49 +00:00
christos
b496a26a9d
Recognize .gz and .bz2 suffixes so $ man ./man.1.gz works. From Franco Fichter
...
via dfly.
2013-10-06 16:43:41 +00:00
christos
7d79a7ccd9
Be more permissive in interpreting man pages as filenames, from Franco
...
Fichter via dfly. fixes:
$ man usr.bin/man/man.1
2013-10-06 16:29:26 +00:00
roy
c019d40dad
terminfo uses CDB instead of DB
2013-10-01 09:01:49 +00:00
sjg
5042f283e6
meta_oodate: 'L'ink and 'M'ove entries need extra processing.
...
The src of a Link should be treated as a file Read
while the target a file Written.
The src of a Move is like a file Deleted
and the target like a file Written.
2013-10-01 05:37:17 +00:00
wiz
f5b349c2c4
Sort. Use .Ex for EXIT STATUS section.
2013-09-30 08:13:59 +00:00
riastradh
88bc4b53a7
New utility getaddrinfo(1) to reflect getaddrinfo(3).
...
Discussed on tech-userlevel back in April:
https://mail-index.netbsd.org/tech-userlevel/2013/04/25/msg007719.html
Not hooked into the build or sets yet.
2013-09-30 06:19:22 +00:00
riz
985d0231c0
NetBSD 6.0.3 and 6.1.2 released.
2013-09-30 03:50:31 +00:00
jnemeth
0acf56cdc6
add NetBSD 5.1.3 and 5.2.1 releases
2013-09-29 07:43:43 +00:00
wiz
2626dec52e
Improve description.
...
From Jérémie Courrèges-Anglas <jca@wxcvbn.org>.
2013-09-24 22:08:06 +00:00
joerg
3657cb7f1d
Update LLVM/Clang snapshot to r191105. This brings in a better detection
...
of unused static variables and functions. Disable this for some external
code and for ioconf.c in the kernel.
2013-09-21 22:28:12 +00:00
khorben
77b82c32cc
flock(1) really appeared first in NetBSD 6.1
2013-09-21 15:01:14 +00:00
wiz
bcd8a2345c
If file argument is '-', read from stdin.
...
From Jérémie Courrèges-Anglas <jca@wxcvbn.org>.
2013-09-17 20:00:50 +00:00
matt
3c2ba04fe8
If MAKE_NATIVE, use sysctl to get MACHINE_ARCH from hw.machine_arch.
2013-09-14 15:09:34 +00:00
joerg
73c26f5d13
Remove copyright, use __RCSID.
2013-09-13 20:51:20 +00:00
wiz
2aa10166ef
Update standards conformance. From jmc@openbsd.
2013-09-12 07:26:13 +00:00
pooka
d5e9a0d652
Not all systems sport err.h, so redo those bits using the die() routine
...
we need to have hanging around anyway for proper error reporting from
a daemonizing server. le sigh
2013-09-10 20:36:08 +00:00
pooka
7066c11a5f
<sys/cdefs.h> comes from rumpuser_port.h
2013-09-10 19:42:32 +00:00
pooka
22882349e0
Need bsd.own.mk for mk.conf, include it at an opportune place.
2013-09-10 18:28:46 +00:00
pooka
ff8534b0b9
Make it possible to omit libutil from the link. It's used only for
...
disklabel stuff, and is only harmful on platforms that don't currently
provide user namespace disklabel interfaces.
2013-09-10 18:22:55 +00:00
pooka
4e5f4292e3
Make this work on platforms without disklabels, modules, etc.
2013-09-10 17:59:52 +00:00
pooka
56651ceb36
Do like the comment suggests and don't sanity-check the -c parameter here,
...
since we can't do it properly.
2013-09-10 17:13:29 +00:00
christos
f812b4b441
Expand ep->host to contain the final string that we are going to print
...
before computing the width of the host column.
2013-09-09 19:20:38 +00:00
wiz
be79f6c038
Improvements from jmc@openbsd.
2013-09-09 09:02:25 +00:00
prlw1
2f73dfb288
Fix
...
/var/log/httpd/access.log 644 52 * $W0D23 ZBP /var/run/httpd.pid 30
newsyslog: config line 16: bad signal type
(strtol: **endptr is '\0' on success rather than *endptr)
2013-09-05 11:34:40 +00:00
sjg
cde1c40e1b
Add VAR_INTERNAL as a context for variables set by make itself,
...
which should not override those set by makefiles.
Currently MAKEFILE is the only variable affected.
Reviewed by: christos
2013-09-04 15:38:26 +00:00
sjg
be3c37de45
Do not apply shellErrFlag unless errCheck is true.
2013-09-02 19:26:42 +00:00
jnemeth
571c39977c
use spaces, not tabs
2013-09-01 10:17:58 +00:00
jnemeth
50fa456661
add NetBSD 6.1.1 release
2013-09-01 10:16:19 +00:00
mrg
0c2e06460b
move most of the header writing code from record.c into wav.c and sun.c.
...
introduce a struct write_info for communication between front ends and
backends.
libaudio API is still pretty ugly, and needs to stay local here for now,
but it is a little more usable for other tools now.
2013-08-30 20:57:26 +00:00
sjg
ec98624792
Fix parsing of SUNSHCMD style :sh = assigments.
...
Submitted by: Will Andrews at freebsd.org
2013-08-28 21:56:49 +00:00
dholland
98ce70f09e
passes WARNS=5, don't set it to 4.
2013-08-21 21:05:29 +00:00
joerg
d9a44d716d
Use more static and __dead.
2013-08-15 20:48:56 +00:00
christos
17168f5ab4
CID 1062241: simplify free for coverity
2013-08-12 20:36:30 +00:00
joerg
2c7fa37363
Add more __dead.
2013-08-12 14:03:18 +00:00
pooka
26b4d3d169
ioconf/pseudo-root have been in here unchanged for 3+ years and their use
...
has spread from rump kernels into dozens of kernel modules. Let's pretend
we don't want to see config yell about them being experimental every time.
2013-08-11 10:37:08 +00:00
apb
480a3064b0
Use Va markup to show that the "suffix" part of ".PATH.suffix"
...
is a placeholder, not a literal string.
Also bump date.
2013-08-11 09:53:49 +00:00
dholland
e9067f113d
WARNS=5
2013-08-11 08:03:10 +00:00
dholland
99934b2d0c
Passes WARNS=5, so don't set WARNS=4.
2013-08-11 06:48:46 +00:00
dholland
65910359bc
Passes WARNS=5, so don't set WARNS=3.
2013-08-11 06:47:38 +00:00
dholland
06eef6894d
add more static
2013-08-11 06:45:23 +00:00
dholland
043c758bea
add more const
2013-08-11 06:43:10 +00:00
dholland
beced5ea78
WARNS=5
2013-08-11 06:39:47 +00:00
dholland
7899f1dc15
Remove redundant WARNS=5.
2013-08-11 06:32:13 +00:00
dholland
1a91378aae
Pass WARNS=5.
2013-08-11 06:31:00 +00:00
dholland
524e377411
Passes WARNS=5; don't set WARNS=4.
2013-08-11 06:09:29 +00:00
dholland
f02a6c3b94
Document .PATH.suffix:. Noted by apb back in December of 2008
...
(that's how long my queue is...)
2013-08-11 04:40:58 +00:00
dholland
7c248df2ae
Whitespace.
2013-08-11 01:54:35 +00:00
dholland
8d0b47d1c9
Fix another bug, relating to parsing the [=x=] syntax.
2013-08-11 01:49:40 +00:00
dholland
aba78f7512
Tidy up more. This is pretty ratty code.
2013-08-11 01:42:35 +00:00
dholland
5e8eff378e
Tidy up.
2013-08-11 01:29:28 +00:00
dholland
9f2ae0ea3d
Pass -Wpointer-sign.
2013-08-11 01:00:13 +00:00
dholland
d506ddf6f7
avoid undefined behavior.
2013-08-11 00:52:17 +00:00
dholland
8a7a973b90
Don't explicitly zero bss variables that are already zeroed.
2013-08-11 00:49:15 +00:00
dholland
c47da08424
Add comments explaining how this works.
2013-08-11 00:48:37 +00:00
dholland
8b42fe334c
Simplify the parser handling.
2013-08-11 00:39:22 +00:00
dholland
e141bc4323
Remove silly written-out initialization of string1.
2013-08-11 00:34:09 +00:00
dholland
848d757378
Make tr -c work. Fixes PR 48113.
...
When -c is in effect, scan string1 first, complement it, and then
iterate over the results while scanning string2. Otherwise, scan
string1 and string2 together as before.
2013-08-11 00:28:46 +00:00
dholland
567ab40d47
apply some CSE
2013-08-11 00:12:47 +00:00
dholland
9dd74a9973
Restore preexisting wrong behavior of tr -c (translates all characters
...
to the last letter in string2) instead of a different wrong behavior
(translates all characters to 0xff) accidentally just introduced.
2013-08-11 00:11:46 +00:00
dholland
48dbbc109e
sprinkle const
2013-08-11 00:05:49 +00:00
dholland
7f7f549599
Make the parser state opaque. While here, fix a memory leak when using
...
the [:foo:] syntax.
2013-08-11 00:04:14 +00:00
dholland
d05d2aa5a7
Expose less of the parser state outside str.c.
2013-08-10 23:54:41 +00:00
sjg
7f708505a0
ParseGetLine: don't treat a zero byte as end of buffer if P_end says it isn't.
...
Consume up to next newline, and issue a parse warning.
If no newline found before P_end, carry on as before.
2013-08-10 21:20:03 +00:00
dholland
3c77b25ade
punctuation usage
2013-08-10 20:59:27 +00:00
sjg
ac8c620987
Move the call to Job_SetPrefix() to Job_Init() so that
...
makefiles have had a chance to set .MAKE.JOB.PREFIX
2013-08-04 16:48:15 +00:00
sjg
bd8f3e806f
Allow an empty .MAKE.JOB.PREFIX to supress output of --- job --- tokens
2013-07-30 19:09:57 +00:00
joerg
349a581e92
Mark the dead.
2013-07-30 15:10:04 +00:00
pgoyette
d96eb15780
fferentiate zegrep and zfgrep by their basename only, so they can be
...
invoked with a pathname (ie, /usr/bin/z{e,f}grep).
OK wiz@
2013-07-25 12:25:23 +00:00
wiz
a5684d07dd
Use Mt for email addresses.
2013-07-20 21:39:55 +00:00
uwe
2a44517182
Constify some more.
2013-07-19 05:05:59 +00:00
uwe
4e29a793cc
Spell "keywords" without space. Fix couple of typos.
2013-07-19 04:59:46 +00:00
uwe
6a118683e9
manual_find_buildkeyword() - now that we control the format string, we
...
may use asterisk precision specification instead of temporary
modifying the _build string itself.
2013-07-19 04:55:05 +00:00
uwe
6fed3e8105
Fix manual_find_buildkeyword() to not use non-literal printf format.
2013-07-19 04:18:10 +00:00
uwe
fd25be260e
Use -Wno-format-nonliteral instead of blanket -Wno-format.
2013-07-19 04:17:02 +00:00
matt
c9855651f8
Add stub port for evbcf which has enough to do a distribution build.
2013-07-18 22:08:59 +00:00
matt
105794b79c
Use ${MACHINE_CPU} == "m68k"
2013-07-18 21:11:47 +00:00
matt
611b1a73a0
Make sure fdformat is on m68k (even sun2)
2013-07-18 21:03:07 +00:00
uwe
887d84a8cf
Don't access memory outside the array if tmpdirlen == 0.
2013-07-18 16:33:31 +00:00
christos
f75400a6b8
use -Wno-format and revert "fixstring"
2013-07-18 16:28:52 +00:00
christos
532207c739
Set the string to NUL instread of providing an new empty string (from uwe)
2013-07-18 16:01:25 +00:00
christos
ef965bff9b
WARNS=6
...
- fix cast qual issues
- don't use snprintf on a user-provided buffer
2013-07-18 15:39:08 +00:00
sjg
11a6c9d08b
From bmake: move decl of pwd nearer to where it is used so the whole
...
thing can be ifdef'd out without causing unused variable errors.
2013-07-18 15:31:49 +00:00
uwe
a2ec5e5863
Revert previous; other errors from WARNS=3 obscured the error in jump().
2013-07-18 04:05:32 +00:00
uwe
d7a42acd68
Constify jump() arguments appropriately.
2013-07-18 04:02:31 +00:00
uwe
e0d6c9b51f
Move manstate::pagerlen so that its "length of the above" comment makes sense.
2013-07-18 03:48:22 +00:00
uwe
3403b722b4
whatis.db is no more, so don't mention its location in FILES.
2013-07-18 03:40:31 +00:00
uwe
db23d137fa
Remove unnecessary line wrap.
2013-07-18 03:38:25 +00:00
sjg
af0aba95fb
When a var is set in the CMD context, it prevents the same name
...
being set in GLOBAL context. We should also delete any such
variable in GLOBAL context, else make -V will show the wrong value.
2013-07-16 20:00:56 +00:00
sjg
7217d3f346
Fix unit-tests to cope with recent change to progname
2013-07-16 19:59:28 +00:00
christos
b294e9655c
WARNS=6
2013-07-16 17:48:22 +00:00
christos
17cdc7e70d
use bmake_foo instead of efoo()
2013-07-16 14:22:13 +00:00
christos
4f413ffa5d
More gmake compatibility:
...
1. add -w flag to print Entering and Leaving directory name the the beginning
and the end of processing.
2. export MAKELEVEL=$((MAKELEVEL + 1)) only in the child environment.
3. when printing error messages, prefix them with the program name [$MAKELEVEL]
for $MAKELEVEL > 0
4. if $MAKEFLAGS consists only of letters assume it is a set of flags (as
allowed by posix), convert them to -f -l -a -g -s, so that they get parsed
properly.
With those fixes gmake -> bmake -> gmake -> bmake etc. works as expected.
2013-07-16 14:00:53 +00:00
christos
76db28c1cd
Make this work again like gmake. sjg: see the test program.
2013-07-15 20:33:11 +00:00
joerg
2a9957221e
Fix description of hex encoding.
2013-07-15 18:46:47 +00:00
sjg
3eb72d30de
For .MAKE.LEVEL.ENV use VAR_CMD so updates are ignored
2013-07-09 18:44:41 +00:00
sjg
b834173368
Set .MAKE.LEVEL.ENV to the name of the env variable used to communicate
...
the recursion level to sub-makes.
2013-07-09 18:13:14 +00:00
sjg
58ba636624
If using gmake's MAKELEVEL; use it the same way
2013-07-06 18:19:17 +00:00
sjg
db7ba27731
If commandShell hasErrCtl is true, set shellErrFlag for use by
...
CompatRunCommand() so that behavior in jobs and compat mode
remains consistent.
2013-07-05 22:14:56 +00:00
joerg
c664b621d8
Swap order of _CITRUS_LC_MONETARY_SYM_INT_N_CS_PRECEDES and
...
_CITRUS_LC_MONETARY_SYM_INT_P_SEP_BY_SPACE to match data files.
2013-07-04 11:36:17 +00:00
riastradh
a7f90b2fd2
Fix races in /dev/u?random initialization and accounting.
...
- Push /dev/random `information-theoretic' accounting into cprng(9).
- Use percpu(9) for the per-CPU CPRNGs.
- Use atomics with correct memory barriers for lazy CPRNG creation.
- Remove /dev/random file kmem grovelling from fstat(1).
2013-07-01 15:22:00 +00:00
christos
865e3e8f40
PR/47973: Justin Cormack: build uses <sys/signal.h> not in POSIX
2013-06-29 15:19:32 +00:00
mlelstv
9adb142f7d
Change to home directory only after setting the full user context
...
to avoid issues with NFS or other user-mapped mounts that don't
give root the privilege to chdir there.
2013-06-29 05:08:35 +00:00
christos
8e33b891d8
prevent re-entry race and crash
2013-06-28 17:36:18 +00:00
joerg
9e69720425
Fix violations of the sequence point rule.
2013-06-28 15:04:35 +00:00
wiz
a87a4e005d
Prefer Aq to \*[Lt] etc.
2013-06-28 10:13:18 +00:00
jdf
eb2a9790dd
* adjust indentation of list block
...
* fix capitalization
* remove superfluous word ('The')
Patch supplied by Bug Hunting.
2013-06-27 21:55:10 +00:00
agc
6a34c4426f
fix a typo
2013-06-26 20:20:36 +00:00
wiz
46ad464f12
Remove trailing whitespace.
2013-06-25 07:08:10 +00:00
sjg
adfd644b2f
Add .MAKE.META.IGNORE_PATHS to facilitate local additions to the paths
...
which should be ignored by meta_oodate().
2013-06-25 00:20:54 +00:00
sjg
8d830c54ea
Ignore any files in /proc/
2013-06-24 21:16:02 +00:00
riastradh
6290b0987e
Rework rndsink(9) abstraction and adapt arc4random(9) and cprng(9).
...
rndsink(9):
- Simplify API.
- Simplify locking scheme.
- Add a man page.
- Avoid races in destruction.
- Avoid races in requesting entropy now and scheduling entropy later.
Periodic distribution of entropy to sinks reduces the need for the
last one, but this way we don't need to rely on periodic distribution
(e.g., in a future tickless NetBSD).
rndsinks_lock should probably eventually merge with the rndpool lock,
but we'll put that off for now.
cprng(9):
- Make struct cprng_strong opaque.
- Move rndpseudo.c parts that futz with cprng guts to subr_cprng.c.
- Fix kevent locking. (Is kevent locking documented anywhere?)
- Stub out rump cprng further until we can rumpify rndsink instead.
- Strip code to grovel through struct cprng_strong in fstat.
2013-06-23 02:35:23 +00:00
christos
f9bc1aff9f
- don't re-use the va list twice, leads to coredumps.
...
- introduce and use a "safe" version of pam_strerror(3) that does not return
NULL
2013-06-20 20:54:02 +00:00
martin
a4110c4cbe
Not all pointers are 64bit - use uintptr_t instead of uint64_t.
2013-06-20 10:43:18 +00:00
christos
08c3d981c5
Don't use -P as a kmem printer, verify that the address points to a pcb first!
2013-06-19 21:12:03 +00:00
sjg
8ae5585417
Use a #define for the variable name we put in environment to pass .MAKE.LEVEL
...
in case we don't want to use gmake's MAKELEVEL in a different way.
2013-06-18 20:06:09 +00:00
sjg
339d4acb06
Fix use after free bug.
...
Parse_SetInput:
curFile->fname was using the buffer passed to it - which ReadMakefile frees.
This change makes the comment in ParseEOF about leaking curFile->fname true.
2013-06-18 19:31:27 +00:00
christos
263238eca4
put back previous change
2013-06-10 20:24:58 +00:00
joerg
f43bb6a704
Document section stripping.
2013-06-10 19:40:53 +00:00
joerg
e2a82ef2e5
Revert last, it doesn't even build.
2013-06-10 19:07:09 +00:00
joerg
4619e36982
Strip .eh_frame and .eh_frame_hdr from crunched binaries.
2013-06-10 18:27:30 +00:00
christos
8e6bfe4b71
1. Don't export .MAKE.LEVEL, because this is an illegal variable name for
...
some shells; export MAKELEVEL like gmake(1) does.
2. It is absurd for the environment variable to be one greater than the
make variable!?!?! To wit...
printf 'all:\n\t@echo ${.MAKE.LEVEL}; printenv .MAKE.LEVEL' | make -f -
2013-06-10 16:46:19 +00:00
joerg
8ca7e152f2
If /usr/bin/cpp is not executable and RPCGEN_CPP was not set, try
...
/usr/bin/clang-cpp. This allows rpcgen to work in a clang-only release
build. Document hack to be resolved when the final decision about
/usr/bin/cpp and friends is made.
2013-06-05 13:54:26 +00:00
sjg
c2bb7dcfaf
JobCreatePipe: do fcntl() *after* any fiddling of fd's
...
to avoid leaking descriptors.
Job_ServerStart: set closed on exec for jp_0 and jp_1.
2013-06-05 03:59:43 +00:00
wiz
d9f4f0b529
Formatting fix.
2013-06-03 21:59:41 +00:00
dholland
5cb2af665c
prenice (like pgrep and pkill) won't match itself. Also fix nearby typo.
...
Bump date. From Ted Unangst in PR 47880.
2013-06-03 20:44:01 +00:00
christos
39b77304e7
PR/47877: Michael van Elst: Disable and enable software flow control properly
2013-06-02 13:18:12 +00:00
wiz
72c9578c5d
Expand "it's", and fix fix convention notation.
...
From Bug Hunting.
2013-05-29 15:08:30 +00:00
wiz
d1e02d4ffe
- Reference tr(1) in `SEE ALSO' section;
...
- bump date.
From Bug Hunting.
2013-05-29 15:05:43 +00:00
wiz
8e553084e0
- Improve wording and punctuation;
...
- use `.Ex' macro for `EXIT STATUS' section;
- add `SEE ALSO' section, referencing (back) dd(1) and sed(1);
- bump date.
From Bug Hunting.
2013-05-29 15:04:37 +00:00
wiz
2767d6c8a8
- Remove redundant argument to non-first `.Nm' macro;
...
- reference `-u' at `-c', to make more clear that the former can
be used with the latter;
- bump date.
From Bug Hunting.
While here, use Aq.
2013-05-29 15:00:35 +00:00
sjg
f30350f125
Clean up some left overs
2013-05-29 00:23:31 +00:00
christos
00ce62b685
0 == local
2013-05-24 23:09:45 +00:00
christos
e2bd819f6a
improve wording
2013-05-22 19:35:11 +00:00
christos
689b483c53
put a note on what FRC means.
2013-05-22 19:30:35 +00:00
jnemeth
d294950c6a
add release dates for 6.0.1 and 6.1
2013-05-22 01:29:59 +00:00
sjg
2987902a0c
We cannot skip all Suff processing for .PHONY targets,
...
else, srcs which are wildcards do not get expanded as needed.
2013-05-18 13:13:34 +00:00