Commit Graph

222851 Commits

Author SHA1 Message Date
christos
5fbbc292aa CID 1132773: Fix file descriptor leak 2013-11-27 18:01:33 +00:00
christos
f2f966f0b6 CID 113277: Add toctou annotation 2013-11-27 17:58:59 +00:00
christos
a2828a1865 CID 1132782: Fix uninitialized variable 2013-11-27 17:55:46 +00:00
christos
b93be9d772 CID 1132783: Fix uninitialized variable 2013-11-27 17:53:00 +00:00
christos
65d0b13b80 CID 1132784: Fix uninitialized variable 2013-11-27 17:51:04 +00:00
christos
82ddaf640d CID 1132786: Fix uninitialized variable 2013-11-27 17:48:21 +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
jakllsch
a88e58194e Fix a use-after-free (well, dealloc actually) issue. 2013-11-27 17:33:03 +00:00
christos
2346c5d0bb forgot the SAFE versions for LIST 2013-11-27 17:28:39 +00:00
christos
bbbabeddfb one more *_END(head) -> NULL 2013-11-27 17:25:46 +00:00
christos
9d605174d9 Change the queue.3 *_END(&head) macros to NULL. Since we don't have CIRCLEQ
anymore, all the macros expand to NULL anyway, so this improves readability.
Requested by rmind@
2013-11-27 17:24:43 +00:00
christos
d1b5b7519f add missing queue.h pages. 2013-11-27 16:36:54 +00:00
christos
d4738dae6e fix typo 2013-11-27 16:30:12 +00:00
christos
ac488d2d4d and a few more. 2013-11-27 16:27:48 +00:00
christos
418193b6ab forgot one 2013-11-27 16:24:31 +00:00
christos
82164e4678 Sync queue man pages with queue.h. 2013-11-27 16:23:00 +00:00
mrg
634d6075be remove unused variable. 2013-11-27 14:21:31 +00:00
joerg
2a79f778a5 Fix build with -ansi. 2013-11-27 12:24:56 +00:00
mrg
3c619ced25 void invading the users' namespace with __launder_type().
adjust the comment a little.
2013-11-27 04:24:15 +00:00
macallan
9b3f3c1555 Add (hopefully temporary) kludge to define PCI_MAGIC_IO_RANGE on shark and
make accelerated X work again.
This used to be defined in machine/param.h but lately the param.h from
arch/arm is installed in machine/ instead of the one from arch/shark, so the
Xserver didn't see PCI_MAGIC_IO_RANGE and couldn't figure out how to map its
IO space.
2013-11-27 02:04:48 +00:00
jnemeth
9299334f79 Remove FreeBSD specific code as per message to tech-userlevel. 2013-11-27 01:47:53 +00:00
rmind
34a5533806 Fix previous, use the correct value for softint_establish (SOFTINT_SERIAL). 2013-11-26 21:13:05 +00:00
rmind
d23bbd30da Update xcall(9). 2013-11-26 20:48:25 +00:00
rmind
86e1c41ade Mention kmem_intr(9) routines. 2013-11-26 20:47:26 +00:00
rmind
2312c4ca30 Switch XC_HIGHPRI to run at IPL_SOFTSERIAL i.e. the highest software level.
Adjust pcu(9) to this xcall(9) change.  This may fix the problems after
x86 FPU was converted to use PCU, since it avoids heavy contention at the
lower levels (particularly, IPL_SOFTNET).  This is a good illustration why
software interrupts should generally avoid any blocking on locks.
2013-11-26 20:29:40 +00:00
joerg
f70c4c82c1 Mark fatal as dead. 2013-11-26 19:12:46 +00:00
christos
249075615f Reduce diffs with OpenBSD:
- add functions we did not have
	- sort the same way
2013-11-26 16:57:04 +00:00
christos
6024f3777c Avoid repainting after screen has been destroyed. 2013-11-26 16:48:01 +00:00
christos
ec755f0cdc avoid NULL deref. 2013-11-26 16:32:04 +00:00
joerg
f9d128e05f Include signal.h early for MiNT and Linux. From pkgsrc. 2013-11-26 13:44:41 +00:00
roy
3490885cbe iwi_newstate should work along with ieee80211_new_state, not always
override it.
2013-11-26 09:46:24 +00:00
mbalmer
c5ca2f5d1e obsolete CIRCLEQ man pages 2013-11-26 09:35:32 +00:00
skrll
d3d6485e4a Improve DEBUG message. 2013-11-26 05:54:43 +00:00
christos
947545475a remove trailing whitespace. 2013-11-26 01:41:34 +00:00
christos
cfb58cd36d Bye CIRCLEQ 2013-11-26 01:36:07 +00:00
christos
0fda3adee7 remove CIRCLEQ pages. 2013-11-26 01:33:02 +00:00
christos
5bdc0023c2 Kill CIRCLEQ, nothing uses it and it will not work with gcc-4.8, so avoid
future accidents.
2013-11-26 01:31:43 +00:00
christos
05617891c6 Provide TAILQ_REPLACE for tmux, from FreeBSD. 2013-11-26 01:27:46 +00:00
christos
6b6949f4cd Provide the correct feature macros, so that we get to include our own
files not the compat copies.
2013-11-26 01:27:20 +00:00
christos
7308329e24 delete things that we don't need so we don't use them accidentally. 2013-11-26 01:26:41 +00:00
christos
f1abc9f9db goodbye CIRCLEQ, welcome TAILQ 2013-11-26 01:17:00 +00:00
alnsn
7ca7224ef5 Use __syncicache() in sljit on powerpc. 2013-11-25 23:53:44 +00:00
christos
d501057ddb fix SSP build 2013-11-25 23:04:39 +00:00
christos
24ce81459e make configure.ac work with recent versions of autoconf 2013-11-25 23:03:18 +00:00
christos
fb8d8e9b62 regen. Add configure.ac and empty files that autoreconf bitches about. 2013-11-25 23:02:44 +00:00
christos
b90de0d04a fix one more mountlist instant 2013-11-25 22:48:05 +00:00
christos
d89691f957 - replace CIRCLEQ with TAILQ
- fix open-coded LIST code
- fix destroy screen bug (was not removed from list)
2013-11-25 22:43:46 +00:00
christos
6cce1f9fa7 Use the process credentials instead of the lwp credentials because if the
process just did a setuid() call, the lwp might not have had a chance to
refresh l->l_cred (still has LPR_CRMOD), and we don't want to bother spending
time syncing the creds of a dying lwp. Should fix the problem with hald
people have been observing.
2013-11-25 16:29:25 +00:00
rmind
e6379a24ea do_setresuid: add an assert. 2013-11-25 16:28:20 +00:00
skrll
ab2ba0f011 Improve DEBUG output. 2013-11-25 07:59:03 +00:00