christos
6caa15c4fc
powepc/clang hack
2020-01-29 22:43:53 +00:00
christos
b5a341d9b0
Hack for clang.
2020-01-29 22:40:44 +00:00
mlelstv
dcf76c79ba
urio(4) was deleted
2020-01-29 21:52:16 +00:00
christos
930278defc
compile without INET
2020-01-29 21:11:38 +00:00
kamil
12ee584ac8
Use pthread_mutexattr_t and pthread_mutex_t magic fields
...
Validate _PT_MUTEX_MAGIC in pthread_mutex_t and _PT_MUTEXATTR_MAGIC
in pthread_mutexattr_t accordingly.
2020-01-29 21:11:24 +00:00
skrll
465dbbd95b
G/C some more
2020-01-29 19:29:23 +00:00
skrll
0431076a4d
G/C
2020-01-29 19:21:51 +00:00
martin
29f96e8198
Do not compare a char array to NULL, test for empty string instead.
2020-01-29 19:04:40 +00:00
maya
195b93f760
Note urio removal
2020-01-29 19:04:12 +00:00
maya
5e031685d6
remove urio(4), a driver for the Rio500 MP3 player.
...
At this point it is highly unlikely this 1999 device still has users,
but it still comes up in the context of maxv's USB-fuzzing (and any device
could pretend to be a urio(4)), so it's best to get rid of it.
Renamed all major entries to obsolete, as was done in previous removals.
This still requires an update to sanitizers, but they're located in
"external", perhaps it should be first committed upstream?
Proposed on tech-kern a month ago.
2020-01-29 18:39:00 +00:00
ad
fb0af629d1
- pthread_join(): remove temporary hack now kernel returns correct errno.
...
- kill(getpid(), SIGABRT) -> _lwp_kill(_lwp_self(), SIGABRT)
2020-01-29 17:11:57 +00:00
kamil
08c17fb31c
Check thread->pt_magic with PT_MAGIC promptly
2020-01-29 16:34:09 +00:00
christos
209f53364e
bump a little for llvm
2020-01-29 16:24:21 +00:00
kamil
20668e1417
Chack thread->pt_magic with PT_MAGIC promptly
...
Rearrange some checks to avoid verifying pthread_t after using it.
2020-01-29 16:03:44 +00:00
ad
d1c42b4f7b
- Track LWPs in a per-process radixtree. It uses no extra memory in the
...
single threaded case. Replace scans of p->p_lwps with lookups in the
tree. Find free LIDs for new LWPs in the tree. Replace the hashed sleep
queues for park/unpark with lookups in the tree under cover of a RW lock.
- lwp_wait(): if waiting on a specific LWP, find the LWP via tree lookup and
return EINVAL if it's detached, not ESRCH.
- Group the locks in struct proc at the end of the struct in their own cache
line.
- Add some comments.
2020-01-29 15:47:51 +00:00
kamil
ac02e87024
Revert previous
...
Two assignments are correct.
2020-01-29 15:31:14 +00:00
kamil
0b0b4cd405
Do not set stackbase2 twice for !__MACHINE_STACK_GROWS_UP
2020-01-29 15:15:00 +00:00
kamil
e06a99c91d
Use pthread_condattr_t and pthread_cond_t magic fields
...
Validate _PT_CONDATTR_MAGIC and _PT_COND_MAGIC respectively.
2020-01-29 15:07:46 +00:00
thorpej
10ca93f873
Adopt <net/if_stats.h>.
2020-01-29 15:00:39 +00:00
thorpej
1f99bccc85
Adopt <net/if_stats.h>.
2020-01-29 14:47:08 +00:00
kamil
7f6f4173b3
Use pthread_barrierattr_t and pthread_barrier_t magic fields
...
Set respectively _PT_BARRIER_DEAD for pthread_barrier_destroy() and
_PT_BARRIERATTR_DEAD for pthread_barrierattr_destroy().
Validate _PT_BARRIER_MAGIC in pthread_barrier_t and _PT_BARRIERATTR_MAGIC
in pthread_barrierattr_t accordingly.
2020-01-29 14:41:57 +00:00
thorpej
2d501ecfdc
Adopt <net/if_stats.h>.
2020-01-29 13:54:41 +00:00
kamil
b3401c13c3
Use the pta_magic field in pthread attribute
...
Set PT_ATTR_DEAD on pthread_attr_destroy().
Check pta_magic before using pthread_attr_t in a bunch of other functions.
2020-01-29 13:47:31 +00:00
kamil
8265fdce60
Fix the t_join test
...
For pthread_attr_get_np() attr should be initialized prior to the call by
using pthread_attr_init(3). pthread_getattr_np() does this
automatically so switch to it.
2020-01-29 13:40:23 +00:00
roy
7e3fe3ae49
wpa: reduce diff with upstream
2020-01-29 12:05:08 +00:00
roy
7f802f6689
wpa: Fix the maximum size of a route(4) msg to 2048
...
This mirrors other programs which parse route(4) messages and will
match upstream.
2020-01-29 11:57:36 +00:00
roy
f4b2e0ff3a
wpa: Remove an outdated comment
...
With interface matching support, wpa_supplicant can wait for an
interface to appear.
2020-01-29 11:46:47 +00:00
roy
921753c4a7
wpa: Don't set or remove IFF_UP
...
Now that both hostapd and wpa_supplicant react to interface flag
changes, there is no need to set or remove IFF_UP.
It should be an administrative flag only.
2020-01-29 11:45:54 +00:00
roy
aa4ef28151
wpa: Share route(4) processing with hostapd and wpa_supplicant.
...
There is little point in having both and it brings interface
addition/removal and IFF_UP notifications to hostapd.
2020-01-29 11:44:43 +00:00
roy
289963fd75
wpa: Driver does not need to know about both wpa and hostap contexts
...
It will either be one or the other.
Fold hapd into ctx to match other drivers.
2020-01-29 11:31:40 +00:00
kamil
d48cac510b
Mark destroyed pthread_mutexattr_t as dead
2020-01-29 10:55:23 +00:00
ad
e7cb9801ce
Some boot blocks too big now, only compare in big chunks if !_STANDALONE.
2020-01-29 09:18:26 +00:00
knakahara
a8e3d72941
Fix missing callout_destroy(). Pointed out by yamaguchi@n.o.
2020-01-29 08:43:30 +00:00
thorpej
38c29a8b06
Adopt <net/if_stats.h>.
2020-01-29 06:46:58 +00:00
thorpej
cdaa0e91f5
Adopt <net/if_stats.h>.
2020-01-29 06:35:28 +00:00
thorpej
72f872d2b2
Adopt <net/if_stats.h>.
2020-01-29 06:17:07 +00:00
thorpej
a4525ace5e
Add if_stats.c to rumpnet.
2020-01-29 06:13:02 +00:00
thorpej
d18dc54823
Adopt <net/if_stats.h>.
2020-01-29 05:52:27 +00:00
thorpej
b50f5ce7b3
NetBSD 9.99.44 -- new if_export_if_data() is now used by modules.
2020-01-29 05:50:34 +00:00
thorpej
79b0645161
Don't reference ifp->if_data directly; use if_export_if_data().
2020-01-29 05:47:12 +00:00
thorpej
9c6badcba9
Adopt <net/if_stats.h>.
2020-01-29 05:41:48 +00:00
thorpej
d4bc9d1186
Adopt <net/if_stats.h>.
2020-01-29 05:30:14 +00:00
macallan
372fa65ce5
the beginning of a driver for Philips Semiconductors PCA 9555 and 9556
...
GPIO controllers, found in Sun Fire v210 and some G5 macs.
Only prints configuration and line status so far.
2020-01-29 05:27:05 +00:00
thorpej
1a2cab1766
Adopt <net/if_stats.h>.
2020-01-29 05:20:26 +00:00
thorpej
b331a82b58
Adopt <net/if_stats.h>.
2020-01-29 04:37:24 +00:00
thorpej
74f4907c2d
Do not reference ifp->if_data directly; use if_export_if_data().
2020-01-29 04:35:13 +00:00
thorpej
d99f8f369a
Adopt <net/if_stats.h>.
2020-01-29 04:28:27 +00:00
thorpej
70b554e641
Adopt <net/if_stats.h>.
2020-01-29 04:11:35 +00:00
kamil
6639a5abb4
Add new fork/vfork/posix_spawn ATF tests in t_ptrace_wait*
...
Add unrelated tracer variation of tests: fork1-16, vfork1-16,
posix_spawn1-16.
All tests pass.
2020-01-29 03:51:56 +00:00
thorpej
da7319bed1
Add <net/if_stats.h>.
2020-01-29 03:17:34 +00:00