Commit Graph

248028 Commits

Author SHA1 Message Date
joerg
3ddb200518 Remove some manual size tuning that no longer seems to be needed. 2017-01-12 22:16:29 +00:00
kamil
314c5d1975 Add new tests vforkdone[12] in t_ptrace_wait{,3,4,6,id,pid}
vforkdone1:
    Verify that vfork(2) is intercepted by ptrace(2) with EVENT_MASK
    set to PTRACE_VFORK_DONE

vforkdone2:
    Verify that vfork(2) is intercepted by ptrace(2) with EVENT_MASK
    set to PTRACE_FORK | PTRACE_VFORK_DONE

As of now PTRACE_VFORK_DONE is undefined in <sys/ptrace.h>.

Sponsored by <The NetBSD Foundation>
2017-01-12 21:35:53 +00:00
christos
78df756bd3 sprinkle __unused 2017-01-12 19:21:09 +00:00
christos
c6817f9639 fix redefinitions 2017-01-12 19:15:10 +00:00
christos
7ca638644a disable until we fix the build. 2017-01-12 19:10:34 +00:00
christos
73f4d05a56 revert for now; too many issues. 2017-01-12 19:10:00 +00:00
christos
46c2733f8f we JAVE_SSIZE max. 2017-01-12 19:07:14 +00:00
christos
3d8350ba37 fix sign issues 2017-01-12 19:03:09 +00:00
maya
68f994d51e replace old style function declaration 2017-01-12 19:02:22 +00:00
christos
ea36f744b3 fix compilation 2017-01-12 18:52:15 +00:00
christos
44b1505578 friendlier to _KMEMUSER 2017-01-12 18:50:17 +00:00
christos
86268722b0 Welcome to the constant age! 2017-01-12 18:42:53 +00:00
christos
31613a05ed fix sign confusion 2017-01-12 18:40:02 +00:00
abhinav
e74c9f1425 Fix couple of typos:
s/summay/summary
	s/highligting/highlighting
2017-01-12 18:37:09 +00:00
christos
d92cd42ea3 make __sigmask unsigned 2017-01-12 18:29:14 +00:00
maya
f8d901fcdb Appease coverity which is having nightmares about strings not being
null-terminated by using strlcpy rather than strncpy when it doesn't
matter.

ok christos.
2017-01-12 18:26:08 +00:00
christos
585a07d820 Don't go redefining system constants, without checking if the system provides
them.
2017-01-12 18:23:04 +00:00
abhinav
54c4ab264d Fix typo: s/currenly/currently 2017-01-12 18:19:31 +00:00
christos
e9f6168b19 undo SSP damage from -Wsystem-headers 2017-01-12 18:16:52 +00:00
christos
4dd10bdd36 - allocate space dynamically instead of putting structs in BSS.
- change some wrong strncat to strlcat.
2017-01-12 17:38:08 +00:00
ryo
de1b0d7b6e * pfil_add_hook() no longer treats PFIL_IFADDR and PFIL_IFNET. delete them from pfil_flag_cases[].
* add/fix KASSERT
* fix comment
2017-01-12 17:19:17 +00:00
christos
d0c807d2c9 Our headers are clean, enable warnings caused by them. We want to know
about <ctype_macro>(char) usages.
2017-01-12 17:14:23 +00:00
maya
23a5d00df5 Remove dead code. RAY_DEF_NWID is a constant string, its length will never
be above 32.
2017-01-12 17:11:22 +00:00
christos
519cf8e7d5 PR/51831: Don't suppress warnings coming from system header macro expansions. 2017-01-12 16:47:18 +00:00
roy
5952c1b776 Use the screen argument, not _cursesi_screen. 2017-01-12 16:23:46 +00:00
christos
d59d37f770 give the absolute path for the error message. 2017-01-12 14:27:14 +00:00
isaki
e9bbb736c5 Fix the possibility of off-by-one on the grammer. Reported by coypu.
Currently it never happens because type is (minor number % 7) and
the arraycount of fd_types[] is 8.  I.e., it is a dead code...
However, when the capacity of the FDTYPE() changes or the arraycount
of fd_types[] changes, this correction will be effective.
2017-01-12 14:24:53 +00:00
roy
ca57f21848 Correct terminfo variable pkey_norm to plab_norm. 2017-01-12 13:53:11 +00:00
wiz
89ad80e5bd Fix typo. 2017-01-12 13:14:41 +00:00
martin
f83dc93f93 Try to document the new "show vnode_lock" command. 2017-01-12 08:46:49 +00:00
spz
a60bf61b21 don't "clean up" the blacklistd integration 2017-01-12 08:38:31 +00:00
spz
bd075468be merge bind-9.10.4-P5 2017-01-12 08:21:32 +00:00
spz
04e8e9b4a3 Import bind 9.10.4-P5 2017-01-12 07:28:27 +00:00
skrll
abf21415a7 Sync with latest github/raspberrypi/linux sources
XXX should provide a vchiq2netbsd and cvs import
2017-01-12 05:41:25 +00:00
skrll
66cda12899 Use some macros for magic numbers and correct return value. 2017-01-12 05:35:45 +00:00
skrll
c308db6ba1 Sync memory barriers with sys/external/bsd/drm2/include/asm/barrier.h 2017-01-12 05:25:03 +00:00
ryo
5df7357f26 white space police 2017-01-12 05:24:36 +00:00
skrll
4f86e51711 New firmware from
commit 87edb826b91ce08ea3e383936cc4791eb7491f35
Author: popcornmix <popcornmix@gmail.com>
Date:   Wed Jan 4 15:20:02 2017 +0000

    Revert: CEC code clean up
    See: https://github.com/raspberrypi/firmware/issues/710
    See: https://github.com/Hexxeh/rpi-firmware/issues/133
2017-01-12 05:20:07 +00:00
ozaki-r
046e2eafb0 Prevent in6_ifaddr from being freed with holding its psref
This is a possible fix for PR kern/51828.
2017-01-12 04:43:59 +00:00
christos
8212adb6e3 Avoid sysconf: __sysconf -> sysctlgetmibinfo -> strtoimax -> locale, etc. 2017-01-12 02:00:42 +00:00
christos
9cc0be316b A little more restructuring so that we don't need mutex stuff in syslog_ss. 2017-01-12 01:58:39 +00:00
christos
16045db705 This is an example how to make a small program using libc. Original size
300K; final size 75K.
2017-01-12 01:58:03 +00:00
maya
8f95888833 fix off by one.
ok riastradh
2017-01-12 01:12:08 +00:00
christos
227c2c0795 make this smaller. 2017-01-12 01:02:09 +00:00
christos
b722e4222b put back strerror_ss, it will be used shortly. 2017-01-12 00:43:55 +00:00
riastradh
0add037f37 Clarify the explanation of the compat_time.c definition of time. 2017-01-12 00:38:25 +00:00
christos
820e172c78 Split syslog.c to:
- syslog_ss.c *_ss api functions (don't use stdio, time)
- syslog.c: *syslog* non _ss api functions (use stdio, time)
- xsyslog.c> common guts.

The motivation for this is not to drag in stdio/locale/floating point/time
for every binary, since syslog_ss() is used in __stack_check_fail() for SSP.
2017-01-12 00:38:01 +00:00
christos
2a1a34d545 Add strerror_ss_r to be used by syslog_ss 2017-01-12 00:35:38 +00:00
maya
3a46f472fa fix off by one 2017-01-11 22:09:38 +00:00
maya
92fa6e3b61 fix off by one.
ok riastradh
2017-01-11 21:44:50 +00:00