Commit Graph

241746 Commits

Author SHA1 Message Date
christos eb687c986e simplify 2016-04-03 01:49:51 +00:00
christos cfc738154f regen 2016-04-03 01:22:39 +00:00
christos 1d741a3ba3 rump needs <sys/idtype.h> 2016-04-03 01:22:18 +00:00
christos 2a60134171 regen 2016-04-03 01:01:46 +00:00
christos f988eca316 include <sys/idtype.h> 2016-04-03 01:00:26 +00:00
christos aad157eb21 add idtype.h to mklintstub and say who generates it. 2016-04-03 00:48:29 +00:00
christos 6ae1120e95 update sets for waitid/wait6. 2016-04-03 00:20:22 +00:00
christos 406ebcd6ac userland bits for wait6/waitid. 2016-04-03 00:19:42 +00:00
christos a351431fe4 renumber to maintain binary compatibility with pset(3), from kre@ 2016-04-03 00:18:01 +00:00
riastradh 66f1744396 Take a stab at implementing drm_idlelock_take/release.
Evidently needed by VIA DRM/UMS.  Noted and tested by medfly/coypu.
2016-04-02 22:40:43 +00:00
riastradh 0e8d9cccbe Need to specify mmap_object operation here!
Not sure how I tested this before, or whether I just made this change
locally and forgot to commit it and then lost the change.
2016-04-02 22:37:03 +00:00
mrg f39108e148 add some comments and prefer MACHINE over MACHINE_ARCH when
they're always the same.  no functional change.
2016-04-02 22:08:14 +00:00
christos cdba0a6165 don't skip values. 2016-04-02 21:21:57 +00:00
christos 095662d5f0 need more includes for siginfo... 2016-04-02 21:09:43 +00:00
christos c7f91bd9fd one more 2016-04-02 21:03:13 +00:00
christos 3d596ad050 regen 2016-04-02 21:02:39 +00:00
christos 55b98faaa8 add wait6 2016-04-02 21:01:32 +00:00
christos 2dc04d074d Add waitid, wait6 2016-04-02 20:46:37 +00:00
christos 15563e6d2d Add wait6() to be used to implement waitid, mostly from FreeBSD.
Create idtypes.h shared by wait.h and pset.h
2016-04-02 20:38:40 +00:00
kamil ea438ca6c5 Add malloc.conf.0 to fix build with MKCATPAGES 2016-04-02 16:18:54 +00:00
christos f89164242b correct the definition of WSTOPPED 2016-04-02 11:18:26 +00:00
mlelstv 338689a6b9 amiga kernel builds and runs 2016-04-02 08:54:47 +00:00
skrll b1ee8add7a PR/51017: VEXPRESS_A15 doesn't compile
Don't pretend to be anything other than A15
2016-04-02 08:48:35 +00:00
mlelstv 2232a82848 appease compiler. Fixes options MODULAR build. 2016-04-02 08:16:54 +00:00
palle 0059b91df1 sun4v: Workaround for OpenBoot feature where a 64-bit address is truncated to a 32-bit address. This happends when a write to the console (/virtual-devices@100/console@1) is done. Avoid this by using a static buffer that is mapped below 4GB. Thanks to Tarl Neustaedter for explaining how OpenBoot works. ok martin@ 2016-04-01 20:21:45 +00:00
christos 8b22ec00d4 - if we are freeing cur_term, set it to NULL.
- preserve and free "last" properly.

$ cat foo.c
#include <stdio.h>
#include <termcap.h>

int
main(void)
{
	tgetent(NULL, "dumb");
	tgetent(NULL, "network");
	tgetflag("so");
	return 0;
}
$ cc foo.c -lterminfo
$ MALLOC_OPTIONS=J ./a.out
Boom.

XXX: pullup-7
2016-04-01 19:59:08 +00:00
msaitoh 43e79b977e Add malloc.conf.5 (link to jemalloc.3). 2016-04-01 12:37:48 +00:00
ozaki-r 2a8dd88007 Don't request returning rtentry if not use it 2016-04-01 09:52:39 +00:00
ozaki-r 35b18fbb1d Remove unnecessary casts and do s/0/NULL/ for rtrequest 2016-04-01 09:16:02 +00:00
ozaki-r 8b4ba7b737 Remove unnecessary RTTIMER_CALLOUT macro
rttimer#rtt_func never be NULL.
2016-04-01 09:00:27 +00:00
mrg 6d27b0e86e for GCC 5.3 pass -fwrapv as this relies upon well-defined integer overflow. 2016-04-01 08:19:31 +00:00
ozaki-r 103bd8df24 Refine nd6log
Add __func__ to nd6log itself instead of adding it to callers.
2016-04-01 08:12:00 +00:00
knakahara 11bfe22fab ' != " so make the condition actually work. (same as r1.30) 2016-04-01 07:23:15 +00:00
ozaki-r 19fb0179dc Use __func__ in log messages 2016-04-01 06:25:51 +00:00
ryo ccc6dc924a no need to escape 2016-04-01 05:23:56 +00:00
ozaki-r acdecad069 Tidy up nd6_timer initialization 2016-04-01 05:11:38 +00:00
ozaki-r 2d846e45e6 Make some global variables static 2016-04-01 02:00:14 +00:00
christos 65cf828420 After discussions with Jilles Tjoelker (FreeBSD shell) and
following a suggestion from him, the way the fix to PR bin/50993
was implemented has changed a little.   There are three steps involved
in processing a here document, reading it, parsing it, and then
evaluating it before applying it to the correct file descriptor for
the command to use.  The third of those is not related to this
problem, and has not changed.  The bug was caused by combining the
first two steps into one (and not doing it correctly - which would be
hard that way.)  The fix is to split the first two stages into
separate events.   The original fix moved the 2nd stage (parsing)
to just immediately before the 3rd stage (evaluation.)  Jilles
pointed out some unwanted side effects from doing it that way, and
suggested moving the 2nd stage to immediately after the first.
This commit makes that change.  The effect is to revert the changes
to expand.c and parser.h (which are no longer needed) and simplify
slightly the change to parser.c. (from kre@)
2016-03-31 23:11:05 +00:00
christos e7b323ca74 bump stack a little 2016-03-31 22:49:14 +00:00
christos 8896183565 PR/51034: Abhinav Upadhyay: makemandb(8): Close database connection when
failed to commit
2016-03-31 20:17:58 +00:00
christos b7d6e6d52a PR/51025: Abhinav Upadhyay: Remove unused includes from apropos-utils.c 2016-03-31 20:16:58 +00:00
christos c97f735da9 update with the final list 2016-03-31 20:15:49 +00:00
christos 79f5688eb8 PR/51018: Abhinav Upadhyay: Update stopwords list for apropos(1) 2016-03-31 20:14:36 +00:00
christos 041c892aee PR/51007: Abhinav Upadhyay: apropos.c: Remove unused includes 2016-03-31 20:13:37 +00:00
christos b732ccab17 replace with standard copyright :-) 2016-03-31 16:28:23 +00:00
christos 9f1b8a789b Avoid leaving turds in /tmp. (from kre@) 2016-03-31 16:22:54 +00:00
christos 87a25451df When embedding a command in a subshell "( ... )" avoid accidentally
producing (( (when the cmd starts with a '(' as that as a reserved
sequence (according to posix) and some shells do treat it specially.
So, force a space after the enclosing '(' to avoid the problem.
For symmetry, put a space before the concluding ')' as well, though
there is nothing special about )). (from kre@)
2016-03-31 16:22:27 +00:00
christos de3efde923 Added lots more end delimiter tests (some weird cases...). Also
use printf %s instead of echo, as there are embedded \ chars in
some of the strings, and some other (nameless) shells insist on
treating \ in the args to echo as something special... (from kre@)
2016-03-31 16:21:52 +00:00
christos 3f90444865 PR bin/51027 - tests for shell positional parameters, including
testing that $10 is correctly parsed as ${1}0 and not as ${10}.
More than that though. (from kre@)
2016-03-31 16:21:10 +00:00
christos 54d4333f65 Added tests collected by Sven Mascheck
http://www.in-ulm.de/~mascheck/various/cmd-subst/
which test cases of ')' being embedded in command substitutions.
(from kre@)
2016-03-31 16:20:39 +00:00