156063 Commits

Author SHA1 Message Date
tsutsui
187a862850 Use new RTK_HWREV_8100E_SPIN2 macro. (missed in the previous) 2007-02-15 12:24:56 +00:00
tsutsui
032ce3bba4 Fix an indent in the previous. 2007-02-15 12:22:04 +00:00
pooka
c1b906f44a Hide the debug prints behind PUFFSDEBUG instead of DEBUG. Make the
latter define the former.
2007-02-15 12:14:34 +00:00
rillig
9da5e43f4d Since interpreting ELF binaries as shell scripts is not very useful, and
since the current error message is less than helpful, improve it.
2007-02-15 12:02:59 +00:00
rillig
88a0bfb9fa Fixed lots of Deppenleer Zeichen in the German translation of sysinst,
as suggested in PR 34048.
2007-02-15 12:00:15 +00:00
pooka
99f9488df4 Implement a very very hacky fuse_get_context(), needs to be visited once
threading is added (and probably otherwise also).
2007-02-15 10:54:40 +00:00
vanhu
6ced6eb0cd Fixed the way phase1/2 messages are sent/resent, to avoid zombie handles and acces to freed memory 2007-02-15 10:19:24 +00:00
rillig
75cf88ee58 Allow files whose name starts with a dash be moved across filesystem
boundaries.

This fix was inspired by the recent -froot zero day exploit for Solaris.
2007-02-15 09:57:16 +00:00
martin
8f4fbc0245 Fix obvious copy&pasto in SCHED_DEBUG register usage. 2007-02-15 09:02:12 +00:00
xtraeme
da18ab0b5b * Use checkyesno rather than using a harcoded value.
* If per_user_tmp is disabled and /tmp equals to ${per_user_tmp_dir}/@uid,
  remove it and recreate it with proper permissions (1777).

This fixes the problem when per_user_tmp is enabled and will put /tmp
on its original state when it's disabled.
2007-02-15 08:47:38 +00:00
xtraeme
6092e365cb Add missing quotes in readlink to compare with ${per_user_tmp_dir}/@uid,
to avoid an error about missing operator.
2007-02-15 08:44:34 +00:00
skrll
8694ada1fe Sort some entries. 2007-02-15 07:30:07 +00:00
mhitch
e7d5ff9134 Kernel threads were running at splhigh on m68k systems because the status
register was inherited from proc0.  Set the new process's status register
to PSL_LOWIPL.  Raidframe reconstruction no longer causes my Amiga to lose
time.
2007-02-15 02:55:39 +00:00
mhitch
5271afeb9d Add lock stubs for m68k. Amiga builds and runs now. 2007-02-15 02:48:48 +00:00
macallan
9d17b3cb4d gah, fix botched merge in previous commit 2007-02-15 02:17:30 +00:00
macallan
63b3b74e9f add battery at pmu 2007-02-15 02:06:48 +00:00
macallan
f41db58cbf not quite complete yet driver for batteries found in ohare-based PowerBooks
no APM emulation or sysmon integration yet but some stuff is exposed via
envsys
2007-02-15 01:48:40 +00:00
macallan
9c80d19d08 don't use IPL_HIGH 2007-02-15 01:45:40 +00:00
macallan
78dc3781e9 - don't use IPL_HIGH
- attach batteries when present
- some cleanup
2007-02-15 01:44:54 +00:00
ad
d399d56922 Fix up MLINKS for previous. From nick@. 2007-02-11 18:49:18 +00:00
pooka
5cb107d447 add librefuse and refuse man pages to set lists 2007-02-11 18:37:45 +00:00
pooka
b4747228a7 descend into librefuse if building with MKPUFFS 2007-02-11 18:36:26 +00:00
pooka
ef61c39aea link operation does not create a new node, therefore don't do it in
the code either
2007-02-11 18:33:30 +00:00
pooka
7027ce431d hash out a bit further 2007-02-11 18:32:02 +00:00
pooka
66eeb022c2 insert comma in SEE ALSO list in fear of retaliation by wizd 2007-02-11 18:31:32 +00:00
pooka
b4a4328b14 need to compare against PUFFS_VNOVAL instead of 0 to determnine if
fields are valid
2007-02-11 18:30:55 +00:00
ad
c18c0d2eaa Eliminate a couple of reference count and mutex leaks. 2007-02-11 17:16:08 +00:00
ad
6fa495aa59 Note that device drivers should not (in general) use these interfaces. 2007-02-11 16:36:06 +00:00
ad
6f86141195 Add mb/rwlock/condvar/mutex section 9 manual pages. 2007-02-11 16:16:09 +00:00
pooka
1bcabb4452 pass real fuse_file_info to rest of fuse ops instead of a memset-to-zero one 2007-02-11 16:06:52 +00:00
ad
b52b3eb8ff Mark these interfaces obsolete. 2007-02-11 16:05:08 +00:00
pooka
d2895ac61d sprinkle some KNF
agc ok
2007-02-11 16:02:24 +00:00
yamt
0844695f78 unwrap short lines. 2007-02-11 15:41:53 +00:00
ad
6511d52f7d inline -> __inline 2007-02-11 15:41:31 +00:00
yamt
f39831ee99 workqueue_exit: update a comment. 2007-02-11 15:37:20 +00:00
yamt
be27733fd7 use cv_signal rather than cv_broadcast where appropriate. 2007-02-11 15:36:35 +00:00
apb
339d48d326 Run pwd_mkdb before running mtree.
Reported by Hauke Fath in PR 35570.
2007-02-11 15:04:17 +00:00
pooka
dccec0f03b fuse directory fillers return opposite truth values from puffs_nextdent,
so invert return value to make readdir callers which check the return
value work.
2007-02-11 14:38:00 +00:00
yamt
8721382dee remove a duplicated inclusion of sleepq.h. 2007-02-11 14:29:01 +00:00
degroote
fb66d23b5f fixed a unexpected addr/port matching failure in SA management
From cvs rev 1.127 of netkey/key.c
2007-02-11 13:35:00 +00:00
degroote
97d02ceb4b reqid (for unique policy) is u_int16_t quantity.
from rev 1.125 of netkey/key.c
2007-02-11 13:32:18 +00:00
hannken
2913e5b9ef newlock2: add include files mutex.h and rwlock.h 2007-02-11 12:15:07 +00:00
pooka
85a3d9279a Allocate refuse private data, refusenode, for all nodes. Currently it
carries fuse_file_info.

.. and lo, cddafs works
2007-02-11 12:12:39 +00:00
pooka
f3a3462b84 implement getdir, used by some older fuse file systems instead of readdir 2007-02-11 11:57:41 +00:00
pooka
8343e96869 Don't release nodes in _remove or _rmdir, implement reclaim
where to do it.
2007-02-11 10:58:43 +00:00
pooka
7d7c04f43a * sprinkle some comments to obvious XXX places
* remove outdated #ifdef from write
* return 0 if unmount is not supported instead of ENOSYS
2007-02-11 10:51:53 +00:00
yamt
fb8ab06b18 remove a forward decl of sa_emul. 2007-02-11 10:47:38 +00:00
tsutsui
a5c3cb6b54 Note news68k generic softintr(9). 2007-02-11 10:39:31 +00:00
agc
992d360ec2 Note the librefuse addition, adding compatibility with the file system
in userspace, layered on top of libpuffs.
2007-02-11 10:35:09 +00:00
agc
4cccedc203 Add an implementation of the file system in userspace functionality,
based on top of libpuffs.  This version is still barebones and
incomplete, but will benefit from others working on it, rather than
just me.

The option code has still to be implemented, but this gets far enough
to run hellofs (from the fuse web page):

	% priv ./hellofs ~/hellofs/mnt &
	% l ~/hellofs/mnt
	total 2
	drwxr-xr-x  2 root  wheel    0 Jan  1  1970 .
	drwxr-xr-x  4 agc   agc    512 Feb  9 18:05 ..
	-r--r--r--  1 root  wheel   13 Jan  1  1970 hello
	% cat ~/hellofs/mnt/hello
	Hello World!
	% df ~/hellofs/mnt
	Filesystem           1K-blocks      Used     Avail Capacity  Mounted on
	/dev/dk0              28101396  18946682   7749646    70%    /
	kernfs                       1         1         0   100%    /kern
	procfs                       4         4         0   100%    /proc
	ptyfs                        1         1         0   100%    /dev/pts
	puffs:refuse:hellofs  28101396  18946682   7749646    70%    /home/agc/hellofs/mnt
	% mount -v -v
	...
	mount: mount_puffs not found for /home/agc/hellofs/mnt
	puffs:refuse:hellofs on /home/agc/hellofs/mnt type puffs (nosuid, nodev, fsid: 0xcb01/0x6acb, reads: sync 0 async 0, writes: sync 0 async 0)
	%

This code is not enabled by default. Yet.
2007-02-11 10:31:37 +00:00