Commit Graph

12097 Commits

Author SHA1 Message Date
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
sjg
aea6f93e2d Var_Delete: expand name if needed. 2013-05-18 13:12:45 +00:00
sjg
5410a37e87 New compiler doesn't like foo() 2013-05-16 21:56:56 +00:00
rodent
24964ef3d1 conform -> conforms - this is the file that was supposed to be changed.
apb@ was right about iconv(3).
2013-05-12 12:25:12 +00:00
christos
05f0356f93 commit test 2013-05-10 15:41:44 +00:00
christos
386c53c1fd cvs test 2013-05-10 15:40:21 +00:00
christos
913c2b066a sort 2013-05-10 15:31:22 +00:00
christos
d5f24c2bef Simplify previous: instead of polluting the whole code with extra arguments
and dealing with byteorder, do the whole thing in where we need it.
2013-05-08 00:34:50 +00:00
christos
16c1b372e4 print the port where the server is listening when displaying status. 2013-05-07 21:41:51 +00:00
christos
28ad8d2d4f include symver.c 2013-05-07 13:00:35 +00:00
riastradh
31eb87b9b9 Make partial read/write error messages more consistent in vndcompress. 2013-05-06 22:53:24 +00:00
jdf
c21f9d1234 Fix capitalisation (again, last time the wrong sentence). 2013-05-06 13:44:17 +00:00
jdf
65965ffb43 * Remove OPTIONS section (uncommon) and put options to the DESCRIPTION.
* Fix capitalisation.

Patch supplied by Bug Hunting.
2013-05-06 11:00:16 +00:00
lukem
fc12eae8b6 Version 20130220: restart fix, SYST response parsing improvement 2013-05-05 10:40:19 +00:00
riastradh
4b4929c1fa Add __printflike to vsnprintf_ss. 2013-05-04 15:37:39 +00:00