Commit Graph

169335 Commits

Author SHA1 Message Date
he fffa7e0bcb Bump the ramdisk from 500k to 700k to compensate for bloat which
happened while the sun2 kernels were unbuildable.
2008-04-25 23:01:27 +00:00
christos fc2c50c090 add the math library. 2008-04-25 22:26:06 +00:00
christos e92259d4ee handle lintlibrary output of _Complex types. 2008-04-25 22:22:28 +00:00
christos 98e7e8e9f7 avoid shadow variables, and enable lint. 2008-04-25 22:21:53 +00:00
christos 69ade9fd6e preliminary _Complex support.
NB: Does not really understand type conversions between complex and doubles.
2008-04-25 22:18:34 +00:00
christos bd1ba72f92 make name const. 2008-04-25 21:20:57 +00:00
ginsbach b876d7a7df Add %F the ISO 8601 date format which is equivalent to %Y-%m-%d. This
format character is supported for reasons of symmetry with strftime(3).
FreeBSD and GNU versions of strptime(3) both support %F.
2008-04-25 20:51:10 +00:00
christos c9cdc30221 - always check malloc results
- don't leak fds on error
- don't cast malloc
- don't cast NULL
2008-04-25 17:44:44 +00:00
christos 0527f291b9 minor restructuring. 2008-04-25 17:41:10 +00:00
christos 1a72a1c693 fix signature 2008-04-25 17:39:20 +00:00
christos ffeec10260 warns=4 2008-04-25 17:34:38 +00:00
christos 76560beef5 Detect unmatched quotes inside old style command substitution.
echo `"`
2008-04-25 17:32:31 +00:00
christos ee7f0d99cd add ellipsis test 2008-04-25 17:19:14 +00:00
christos 5f562aba67 handle case C1 ... C2: 2008-04-25 17:18:24 +00:00
christos eaacd42b0f I don't see why we need to strong alias those. Nothing else does it. 2008-04-25 16:43:00 +00:00
ad 52b171cac6 fillw() is no longer used. 2008-04-25 16:34:25 +00:00
joerg 289d04bffd Fix a bug in the linkresolver for tar format. When linkresolver is done,
the entry belongs to the caller, so don't keep a reference to it and use
the local copy for inode comparision.
2008-04-25 15:04:21 +00:00
jmmv 098f566eb9 Do as in revision 1.26 of sshd_config: add a sample, commented-out line
for X.org's xauth.
2008-04-25 15:01:45 +00:00
vanhu ed9bfcd9c2 From Timo Teras: extract port numbers from SADB_X_EXT_NAT_T[SD]PORT if present in purge_ipsec_spi(). 2008-04-25 14:41:18 +00:00
vanhu c6898eabf6 extract ports information from SADB_X_EXT_NAT_T_[SD]PORT if present in purge_ipsec_spi() 2008-04-25 14:41:17 +00:00
ginsbach 52de4d6274 Change date for previous change (addition of %Z). 2008-04-25 14:37:00 +00:00
ad c925598aae lwp_startup: spl0 after pmap_activate, otherwise we could be preempted
without a pmap active.
2008-04-25 14:34:41 +00:00
mjf 06c9a5d43c Grammar fix. 2008-04-25 14:16:05 +00:00
joerg d4752c626d Before allowing rmdir to progess into the netherhells called VFS,
check if no filesystem is mounted on this node. This can happen
for null mounts on top of null mounts.
2008-04-25 13:40:55 +00:00
ad 1a1d0b7f30 Include null IPI functions if !MULTIPROCESSOR. 2008-04-25 13:26:27 +00:00
jmmv 44baf61c66 Add sample (commented-out) entries to change the keyboard's repeat rate.
I always do this after a system install but never remember the correct
syntax.
2008-04-25 13:09:13 +00:00
skrll 768818c328 Whitespace. 2008-04-25 12:41:50 +00:00
xtraeme 82947dad7d Adapt to recent NetBSD which has an atomic MI API. With code from
bjs@ and ad@.
2008-04-25 12:15:19 +00:00
tsutsui 82cc885228 Split device_t/softc for re(4) and rtk(4). 2008-04-25 11:27:19 +00:00
ad 4079c2dd69 Use pool_cache+atomics for sigacts. 2008-04-25 11:24:11 +00:00
ad 607f7941b7 Remove unneeded playing about with kernel_lock. 2008-04-25 11:23:42 +00:00
ad 1ae2046c17 semexit: do nothing if the process has not used semaphores. 2008-04-25 11:21:18 +00:00
sborrill e691c35842 Disable splashscreen during autoconf if any of the following is true:
- single user (-s)
- verbose (-v)
- debug messages (-x)
- ask for root (-a)
- userconf (-c)
2008-04-25 08:42:56 +00:00
mjf 24503783b3 device_t/soft_c split 2008-04-25 08:17:52 +00:00
ad 8c71a574b0 Remove unneeded kernel_lock/splvm stuff. 2008-04-25 00:07:24 +00:00
alc 8c99fcbe3b fix typo in comment 2008-04-24 23:26:00 +00:00
alc e0ec961f27 add a dummy argument to cpc700_get_irq() to match the function pointer's
prototype in `struct pic_ops'.

fix build of PMPPC

ok garbled@
2008-04-24 23:22:24 +00:00
ad 3cef738139 lwp_userret: don't drop p_lock while holding a scheduler lock. 2008-04-24 21:47:11 +00:00
jmcneill dd8d5fe840 Define ACPI_THREAD_ID as uintptr_t, and return curlwp instead of
curlwp->l_lid from AcpiOsGetThreadId(), as suggested by ad@
2008-04-24 21:42:05 +00:00
ginsbach 43e9d46aab Add support for %Z ala FreeBSD and some other strptime(3) implementations.
Reviewed by christos.
2008-04-24 21:34:48 +00:00
ad ba26c51443 Add 64-bit bus_space methods. 2008-04-24 21:01:40 +00:00
cegger a9291fce0d keep up with x86/x86/cpu.c, rev. 1.33:
Gracefully handle a condition where apic id >= X86_MAXPROCS rather than panicing.
2008-04-24 20:44:02 +00:00
ad 284c2b9aef Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
we no longer need to guard against access from hardware interrupt handlers.

Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.
2008-04-24 18:39:20 +00:00
hubertf 71c7af227e Fix RCS Id, pointed out by Slava Semushin in private mail 2008-04-24 17:33:34 +00:00
ad caba38b804 Catch up with process locking changes. 2008-04-24 17:02:18 +00:00
njoly 436fa0ef05 Add IPC_64 support for semctl IPC_STAT/IPC_SET. 2008-04-24 16:42:54 +00:00
jmcneill 806f625216 Gracefully handle a condition where apic id >= X86_MAXPROCS rather than
panicing.
2008-04-24 15:59:57 +00:00
ad 6d70f903e6 Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:

- Inspecting process state requires thread context, so signals can no longer
  be sent from a hardware interrupt handler. Signal activity must be
  deferred to a soft interrupt or kthread.

- As the proc state locking is simplified, it's now safe to take exit()
  and wait() out from under kernel_lock.

- The system spends less time at IPL_SCHED, and there is less lock activity.
2008-04-24 15:35:27 +00:00
ad ef9411cb09 Fix locking in the fifo kqueue routines. 2008-04-24 15:18:11 +00:00
ad c2deaa264e xc_broadcast: don't try to run cross calls on CPUs that are not yet running. 2008-04-24 13:56:30 +00:00