Commit Graph

159350 Commits

Author SHA1 Message Date
yamt
05aaff39ff use mutex and condvar. 2007-06-01 11:56:03 +00:00
yamt
61131eb130 nfsdsock_lock: fix an inverted check of SLP_VALID. 2007-06-01 11:38:44 +00:00
he
8f77cc1c43 Fallout from the interface ioctl changes:
OSIOCGIFADDR -> OOSIOCGIFADDR
OSIOCGIFDSTADDR -> OOSIOCGIFDSTADDR
OSIOCGIFNETMASK -> OOSIOCGIFNETMASK

Also, one instance of needing to include <net/if.h> before
<compat/sys/sockio.h> due to use of IFNAMSIZ in the latter.

Discussed with christos.
2007-06-01 11:36:35 +00:00
jnemeth
d3eeea012e note new xirc manpage 2007-06-01 11:34:32 +00:00
skrll
322ba9d3c4 Another missed changed for acorn26 idlelwp. Provide IRQenable/IRQdisable
macros.
2007-06-01 11:31:01 +00:00
jnemeth
9c898c4d78 note new xirc man page 2007-06-01 11:27:58 +00:00
jnemeth
a3c546562b xi now attaches at xirc, not pcmcia
PR/36310 -- Joerg Niendorf
2007-06-01 11:24:22 +00:00
hannken
b110563f3a Fallout from last commit:
OSIOCGIFADDR -> OOSIOCGIFADDR
OSIOCGIFDSTADDR -> OOSIOCGIFDSTADDR
OSIOCGIFNETMASK -> OOSIOCGIFNETMASK

Sparc64 compiles again.
2007-06-01 10:21:22 +00:00
is
f463f993c1 Manual page for the driver for SigmaTels not-quite-UIRDA bridges. 2007-06-01 09:52:01 +00:00
enami
723ff30abc Fix some bugs in ifconf():
- maintain space left correctly.  the pointer is advanced by the size
  of struct ifreq when length of address is small.
- single sizeof operator is enough to take the size of struct.
- the type of `sz' must be singed type since it is/was compared against to
  the variable which may become negative.
- no need to traverse rest of interfaces once we got an error.  note that
  the latter `break' statement was inside inner loop.
2007-06-01 09:35:47 +00:00
skrll
4868ebda4e want_resched is no longer required here. 2007-06-01 07:21:51 +00:00
skrll
afcc3d424c Missed this in previous commit.
Attempt to adacpt acorn26 to idlelwp. This is untested.

OK'd by Ben Harris
2007-06-01 07:21:26 +00:00
skrll
fb901b95c7 __HAVE_MD_RUNQUEUE is no longer relevant. 2007-06-01 07:18:31 +00:00
skrll
a6c4dd7bcd Attempt to adacpt acorn26 to idlelwp. This is untested.
OK'd by Ben Harris
2007-06-01 07:04:53 +00:00
mhitch
fb64759fb7 Get rid of one more incompatibility with pmap_motorola.c from pmap_bootstrap(). 2007-06-01 04:05:05 +00:00
christos
ab89ea8ca6 message size == 0 is valid. From Markus Mayer 2007-05-31 23:34:42 +00:00
mhitch
d9ac73c21c PTE for Sysptmap was not getting set correctly. 2007-05-31 22:16:48 +00:00
ad
057666ad0c setrunnable: adjust to slightly different locking strategy post yamt-idlewlp.
Should fix kern/36398. Untested due to connectivity issues.
2007-05-31 22:06:09 +00:00
christos
be230fb632 moved to libc/ssp 2007-05-31 21:52:31 +00:00
christos
5d8aa4c7a5 ssp is now part of libc. 2007-05-31 21:51:48 +00:00
christos
201eeae43d this is not needed. 2007-05-31 21:46:03 +00:00
bouyer
03182b8569 Move mapping of AHCI register so that jmide knows if it fails, and avoids
calling ahci_intr() (which would cause a panic).
Try to use the pciide function for SATA drives if attaching ahci fails (this
doesn't seems to work though, it may be BIOS dependant).
Thanks to Gary Duzan for testing multiple pacthes.
2007-05-31 21:26:48 +00:00
mrg
dd01c9b84e add "when" to the list in WTF/WTH 2007-05-31 20:03:59 +00:00
manu
a16fcccee0 From Joy Latten <latten@austin.ibm.com>
Fix file descriptor shortage when using labeled IPsec.
2007-05-31 19:54:54 +00:00
darrenr
fade943a7f The wrong condition was being tested for when deciding which fields to
update in ICMP error messages.  In the test case for this, the wrong
input was actually being used (it should be the headers from the previous
packet output) and therefore the expected results were also wildly wrong.

kern/36309
2007-05-31 10:33:54 +00:00
rmind
59085afd2c Make AIO initialization MP-safe.
Actually, lwp_exit() with (l != curlwp) will not work.
This fix might be pulled up from vmlocking branch.
2007-05-31 06:24:23 +00:00
wiz
7fb92a5963 Updates for Switzerland and Liechtenstein. 2007-05-31 05:57:01 +00:00
rmind
05d5495566 We should clean the ${ASM} files, not a ${PSEUDO}, which is really "pseudo" ;)
Pointed out by <veego>.
2007-05-31 05:44:14 +00:00
rmind
e825692169 As suggested by <yamt>, make the aiocb structure alignment friendly.
- Change the type of the internal members to int
- Reorder the members
2007-05-31 05:39:24 +00:00
rmind
0a227b1913 - Make aio_worker to handle pending exits and coredumps
- Allow aio_suspend() to be ended early by a signal
- Fix reference counting on LIO structures (remove hack)
- Use two global pools for AIO structures
- Minor cleanups

Patch provided by <ad>. Some additional modifications by me.
Reviewed by <yamt>.
2007-05-31 05:29:43 +00:00
christos
f84135414c don't make bogus assumptions about struct alignment. 2007-05-31 02:58:10 +00:00
christos
f6ca3502bf provide the minimum ifreq size (when sockaddr is empty) 2007-05-31 02:56:50 +00:00
jschauma
e1925bdef9 Add a new command-line option "-n chunk_count", that splits the input
file into chunk_count smaller files.  Each file will be size/chunk_count
bytes large, with whatever spillover there is ending up in the chunk_counth
file.
2007-05-31 01:35:35 +00:00
uwe
7243a4e86c Fix inverted comparison ${MACHINE_ARCH} != "hppa" when checking for
ssp.  (hi^2 tls!)
2007-05-31 00:17:32 +00:00
uwe
c7bdc65e61 Use matching open and close parens.
Why make doesn't complain about $(foo} ?
2007-05-30 22:54:12 +00:00
tls
14aa3a04d9 Fix typo, and eliminate mention of libssp since it's gone.
Move -D_FORTIFY_SOURCE to CPPFLAGS from COPTS.
2007-05-30 21:27:54 +00:00
tls
dc99372be9 Match usage of FORTIFY_SOURCE on other platforms by not requiring special
include path: the normal header files now include the "SSP" ones (which one
should note are not really named right: SSP and FORTIFY_SOURCE are independent
features).

Disable USE_SSP on targets where the compiler doesn't support it at all
(mips, alpha) or it's known broken (sh3).  But enable FORTIFY_SOURCE,
without SSP, on those platforms -- tested on mipsel.
2007-05-30 21:14:35 +00:00
manu
23326f5b62 From Jianli Liu <jlliu@nortel.com>:
In racoonctl, use the specified socket path instead of the default location
2007-05-30 21:02:39 +00:00
christos
d81aadc176 Move the nasty ifdefs in one place. Requested by ad and dyoung. 2007-05-30 21:02:02 +00:00
tls
ac86b16c1e disable libssp regress until Christos fixes it 2007-05-30 19:49:49 +00:00
christos
3fe1c0adb5 lock_stubs.S depends on assym.h 2007-05-30 17:16:55 +00:00
xtraeme
e09d1dbb48 Fix for SIOGIFCAP provided by christos, test successful. 2007-05-30 17:03:30 +00:00
tls
c43359c28a libssp is gone. 2007-05-30 16:23:22 +00:00
fvdl
79cc43c346 libssp is no more 2007-05-30 14:25:32 +00:00
tls
a83c0ab035 mipsel || mipseb, not mipsel || mipsel 2007-05-30 14:21:31 +00:00
darrenr
5daa30646c the call to ipf_freetoken() free's the structure pointed to by 't' so doing
any sort of dereference of it afterwards is just a bad idea...
2007-05-30 06:27:11 +00:00
tls
2368dc663d Move FORTIFY_SOURCE implementation from the somewhat ill-named "libssp"
(what other systems keep in libssp, we already have in libc) into libc
to match what other systems with FORTIFY_SOURCE do.  Goodbye, libssp
dependency in libraries and executables.  Discussed with christos and
mrg; Christos will merge the headers to get us the rest of the way to a
FORTIFY_SOURCE implementation that works as others' code expects.
2007-05-30 01:13:14 +00:00
christos
9bf57b1f3a make this compile again
XXX: The ioctls will need to be fixed.
2007-05-30 00:00:59 +00:00
christos
d5dcfde7aa wrap the whole function in COMPAT_40 2007-05-29 23:57:33 +00:00
christos
781021f65e fix unused variable. 2007-05-29 23:32:41 +00:00