Commit Graph

156168 Commits

Author SHA1 Message Date
alc 0369238ed8 Update documentation URL. Previous one was leading to a "Page not found". 2007-02-16 21:05:40 +00:00
christos db83b694ee add bitmask_snprintf string. 2007-02-16 20:54:12 +00:00
njoly 5f6b6270e4 Regen. 2007-02-16 20:49:40 +00:00
njoly 11f77cf45a Add support for a few syscalls:
setfsuid16/getfsuid16
setfsuid/getfsuid
sched_yield

ok by manu
2007-02-16 20:49:06 +00:00
hubertf 6a0e6d5715 Moved ctype.h from header to source file in usr.bin/tip.
Also removed unused getopt header.

Patch contributed by Slava Semushin <slava.semushin@gmail.com>
in private mail.
2007-02-16 20:25:33 +00:00
tsutsui a46d60ccc4 Disable more options to shrink kernel size. 2007-02-16 19:15:15 +00:00
hannken 198beb0314 Make fstrans(9) the default helper for file system suspension.
Replaces the now obsolete vn_start_write()/vn_finished_write().
2007-02-16 17:23:53 +00:00
riz 16a0235c60 Use strtoll() when converting a 64-bit quantity. This makes "gpt add"
work with an offset of more than 2147483647 sectors.  While I'm here,
use strtoul() when converting an unsigned quantity.
2007-02-16 17:13:02 +00:00
pooka 27f51110f8 lookup in-core nodes in readdir() and provide the real inode for
each node.  This makes pwd work.
2007-02-16 16:39:56 +00:00
pooka ddd5ed5765 Check against root node cookie when fetching a new vnode and invoke
VFS_ROOT() if the cookies match.  Without this fix, if the root
vnode was reclaimed, doing lookups for dotdot from the root vnode
was possible.  In practice this occured only through getcwd.
2007-02-16 16:37:55 +00:00
freza 592d6d615c Fix MKDEBUGLIB build. 2007-02-16 16:34:17 +00:00
pooka eb8b0d493d LIBDPLIBS on puffs 2007-02-16 15:44:37 +00:00
ad 431bcb0874 Pacify lint. 2007-02-16 15:42:02 +00:00
hubertf 4aa8f11f5e Xref the firmware package, just like wpi.4 and iwi.4 do,
bump date.
2007-02-16 15:32:08 +00:00
ad 2d62904bd2 More spllowersoftclock() fallout. 2007-02-16 14:00:17 +00:00
tsutsui 31e60d91eb Include <machine/cpu.h> for struct cpu_info. 2007-02-16 13:56:24 +00:00
ad 36bb413e0d More spllowersoftclock() fallout. 2007-02-16 13:55:42 +00:00
tsutsui c9962e639e Set ER_RXSTAT_OWNER after all descriptor members are ready. 2007-02-16 13:43:57 +00:00
tsutsui 3fe4f9fc45 Make DMA descriptors volatile to avoid unintended reordering which might
cause some race condition.
2007-02-16 13:43:00 +00:00
ad d14a7576fc Fix spllowersoftclock() fallout. 2007-02-16 13:42:29 +00:00
ad 64c0514340 More vax changes. 2007-02-16 13:41:45 +00:00
tsutsui 990a39ff81 Remove hacks for now removed spllowersoftclock(9). 2007-02-16 13:27:00 +00:00
tsutsui 937ff586b1 RTK_HWREV_8100E_SPIN2 is a PCIe device so also check it
in rtk_setmulti() to handle quirk. Noticed by OpenBSD.
2007-02-16 13:01:48 +00:00
njoly 1fdc51be7d Fix incorrect voltage sensors range. It was using 7 numbers, where the
driver support only 5 voltage sensors.

ok by xtraeme
2007-02-16 12:46:11 +00:00
vanhu 496e74bcde From Olivier Warin: Fix a %zu in a printf. 2007-02-16 11:01:35 +00:00
vanhu 834d2e72c5 Fixed a %zu in a printf 2007-02-16 11:01:34 +00:00
oster 204d46e90b Fix typo from newlock2 merge, allowing MIPS64 to build again. 2007-02-16 03:30:48 +00:00
ad 4b2e60ca6b Add MUTEX_NO_SPIN_ACTIVE_P() to check if spin mutexes are held on
the current cpu. A generic version is provided if the architecture
does not provide one.
2007-02-16 03:10:12 +00:00
ad 3363855a4a Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.
2007-02-16 02:53:43 +00:00
ad 26c2c3986f MUTEX_SET_WAITERS(): return zero if the mutex has become unheld. 2007-02-16 02:48:47 +00:00
ad 86e995e9d5 More MD changes to get vax compiling. 2007-02-16 02:17:42 +00:00
markd 94de172517 regen for i965Q 2007-02-16 01:35:53 +00:00
markd 5ef1becf96 Add i965Q 2007-02-16 01:35:04 +00:00
matt 53af1aa78b Partially adapt the VAX port to the newlock2 changes. These are untested
but they do at least compile.
2007-02-16 01:33:49 +00:00
xtraeme bebefe198b * There's no need to use an int to store the returned value of
ffs_checkver() and later use it in the switch statement, just
  use ffs_checkver.
* Remove unneded <sys/queue.h> header.
* Remove LFS from fstypes, it was never used.
* Increase SBCOUNT to 128, works faster.
* Remove unneded casts.
* (-F mode) close fd when the scan has finished or if pread() failed.
* (-F mode) print total size of file.
2007-02-16 01:32:21 +00:00
ad 57aa4fbf3b proc_free() was returning a NULL rusage pointer to wait() when a traced
process was reparented. Change proc_free() to copy the rusage to a buffer
on the stack if required, so it can be passed both to the debugger and
to the real parent process.

Fixes kern/35582 (kernel panics with gdb).
2007-02-16 00:39:16 +00:00
ad a72414e44c lwp_free(): pass curlwp to KERNEL_LOCK(), not 'l'. 2007-02-16 00:35:45 +00:00
ad 2b011d2fa7 sigswitch(): don't blat the kernel_lock count that sleepq_block() saved
earlier.
2007-02-16 00:35:20 +00:00
pooka 9212590495 * can't call unlink(2) & rmdir(2) in error paths. Rather, call
ops specified in the fuse op vector (or, if they're missing,
  we're SOL)
* great return value overhaul: return -ret to get linuxy -errno
  right for the kernel
2007-02-16 00:35:06 +00:00
pooka c18a22fa1f write to end-of-file in case of IOAPPEND 2007-02-16 00:16:39 +00:00
pooka 8d87a172a3 * first stab at create
* return proper return values from read/write
2007-02-16 00:13:02 +00:00
reed cfbdfbc5a7 Remove unused references to "clean_uucp" variable. (Code was already
removed.)

Add rebuild_whatisdb weekly variable that defaults to NO.
This is for running makewhatis weekly.
This defaults to NO because it is not needed using just base sets/default
install which provide the whatis.db file(s).
2007-02-15 23:04:10 +00:00
ad def3fb26c7 Add MUTEX_CLEAR_WAITERS(). 2007-02-15 22:52:42 +00:00
ad 58bb4135a9 - mutex_exit(): call mutex_wakeup() if there are waiters, since we have
already released the lock when we reach the waiters check.
- mutex_enter(): denote the start and end of the critical and export
  labels. If an LWP is preempted after grabbing the interlock, the dummy
  owner value (0xff000000) will persist, but the real owner value must be
  set soon to prevent deadlock. On entry to interrupt we'll need to check
  for this and set in the correct value if the LWP was interrupted in the
  critical section.
2007-02-15 22:49:35 +00:00
tron e3f6d993ed Increase the numbers of inodes available on the "/dev" MFS to 1280.
This should fix the "sysinst" problems caused by adding more devices
node to resolve PR port-amd64/35532.
2007-02-15 22:39:12 +00:00
dogcow 60918448c9 dipotre -> dioptre.
(nobody's noticed this typo since the file was originally added in 1993...)
2007-02-15 22:37:27 +00:00
dsl 486d411937 Add a -f (force) parameter to installboot(8).
If specified then checks on the disks BPB are not done, and any existing BPB
is deleted.
This is needed soince newfs(8) doesn't overwrite the BPB - which is basically
the FAT superblock.
Update documentation and add an example of using bootxx_fat16.
2007-02-15 22:23:11 +00:00
reinoud 9a5a59b59c Silly me, forgetting a \ 2007-02-15 22:17:39 +00:00
reinoud e397e5968a Add a B_FSPRIVATE flag in analogy to the B_DEVPRIVATE flag for private use
by file systems.
2007-02-15 22:12:37 +00:00
reinoud ea95b9efcd Forgot to update the flagbits to reflect the B_DEVPRIVATE 2007-02-15 22:09:30 +00:00