Commit Graph

158497 Commits

Author SHA1 Message Date
pooka
5bed4b9c62 add mount_9p 2007-04-21 14:28:34 +00:00
pooka
46853cdc64 descend into mount_9p 2007-04-21 14:23:10 +00:00
pooka
e73a712f80 mount_9p: mount a file server using the Plan9 file sharing protocol
Works, but lots of little things to nibble on:
* fix permissions to work better
* limit the amount of open files required
* do constant folding with psshfs code
* support authentication
etcetc.
2007-04-21 14:21:42 +00:00
dsl
caf05d897b Add myself (finally). 2007-04-21 13:00:46 +00:00
dsieger
61d67f4d50 Add myself to the list of developers. 2007-04-21 12:46:04 +00:00
dsl
8767590c76 On amd64 U_QUAD_T is (probably) 'unsigned long', but "%qd" expects to see
a "long long" - giving a compilation warning.
Check for the presence of PRIu64 and use that in preference.
Adjust code to avoid multiple printf() calls.
Use unsigned format specifiers in all cases.
2007-04-21 11:16:53 +00:00
rjs
cbefa60fe8 Don't need to save lwp for use in lwp_exit2(). 2007-04-21 10:45:45 +00:00
dsl
858e924206 Fix 64bit build, strlen() doesn't return int. 2007-04-21 10:39:30 +00:00
pooka
e4526ed3a0 Take care not to access park->park_preq if the waiter is gone, as
that memory is no longer available.
2007-04-21 10:36:59 +00:00
plunky
a51f025d1a bluetooth(4): add 'service level' security [plunky 20070421] 2007-04-21 06:17:56 +00:00
plunky
f5db72e7b7 Add 'service level' security for L2CAP and RFCOMM connections, following
the Linux (BlueZ) API.

    - L2CAP or RFCOMM connections can require the baseband radio link
    mode be any of:
	authenticated (devices are paired)
	encrypted (implies authentication)
	secured (encryption, plus generate new link key)

    - for sockets, the mode is set using setsockopt(2) and the socket
    connection will be aborted if the mode change fails.

    - mode settings will be applied during connection establishment, and
    for safety, we enter a wait state and will only proceed when the mode
    settings are successfuly set.

    - It is possible to change the mode on already open connections, but
    not possible to guarantee that data already queued (from either end)
    will not be delivered. (this is a feature, not a bug)

    - bthidev(4) and rfcomm_sppd(1) support "auth", "encrypt" and
    "secure" options

    - btdevctl(8) by default enables "auth" for HIDs, and "encrypt" for
    keyboards (which are required to support it)
2007-04-21 06:15:22 +00:00
plunky
c4ec0fc4f8 add 'lost' manpages to build:
acorn26/iobus(4)
	mac68k/zsc(4)
	pc532/intro(4)
	sparc/autoconf(4)
	sun3/autoconf(4)
	vax/mtc(4)
	vax/rl(4)
	iee(4)
2007-04-21 06:11:57 +00:00
matt
77f975f0e9 Force connection.c to be compiled with -O2 on VAX. 2007-04-21 00:41:19 +00:00
pooka
1de42023d1 don't mutex_enter() manually, we've already park_reference()d a few
lines earlier for entering the same mutex
2007-04-20 21:35:31 +00:00
matt
3649c80dc2 Fix LP64 issue with invalid register names. When printing a register name,
look in reg_renumber if the register >= FIRST_PSEUDO_REGISTER.
Add code to not use movc3 for small fixed (<= 48 byte) moves.  Instead
expand them to the proper series of mov[qlwb] instructions.
2007-04-20 16:30:32 +00:00
pooka
11931abec3 add 9P file/resource protocol: tcp/udp 564 2007-04-20 16:18:02 +00:00
joerg
5149c83981 To avoid the defs.h to disappear again, change users of PRIu64 to
MY_PRIu64 and define that to PRIu64 by default.
2007-04-20 14:22:25 +00:00
tnn
c370d31c5a Sync w/ pkgsrc/pkgtools/pkg_install: Include "defs.h" to get definition
of PRIu64 on platforms that don't define it themselves.
2007-04-20 14:03:14 +00:00
yamt
73e9fbd3df update. (cpu_did_resched) 2007-04-20 13:45:43 +00:00
njoly
44d4cbded2 Regen (ftruncate fix). 2007-04-20 13:38:20 +00:00
njoly
12a8f9478e Fix ftruncate syscall. Do not use compat_43_sys_ftruncate, but
compat_43_netbsd32_oftruncate instead.
2007-04-20 13:37:05 +00:00
kiyohara
0b8b4bf965 + Add file-system HFSP (commented out).
+ Add pxartc and lcd(commented out) and pxaudc and pxamci (commented out).
  lcd and pxamci not support yet.
+ Remove slhci.
+ Change name of expansion bords the console-{hw,st} from waysmall-{hw,st}.
  Because The gumstix Co. changed the name.
2007-04-20 13:22:21 +00:00
kiyohara
3af5743d0a Change to use pxapcic from sa11xx_pcic.
Support multiple socket.  But not tested.
2007-04-20 13:00:08 +00:00
kiyohara
e0c180145d Add whitespace and tab. 2007-04-20 12:48:52 +00:00
pooka
ac5f1b1b78 * in readdir, don't copy extra memory back and forth to userspace
* consistent usage of the variable argsize with the rest of the module
2007-04-20 11:56:35 +00:00
pooka
07ba7a7d5f Size of a readdir cookie is sizeof(**ap->a_cookies), not
sizeof(*ap->a_cookies).  Fixes nfs readdir in the case that a
directory had lots of entries with short names.
2007-04-20 11:36:25 +00:00
uwe
e249080b64 Regen: remove sh5 support from sh3 tools. 2007-04-20 11:13:23 +00:00
uwe
119f6e61f7 Do not include sh64 support into sh*-netbsdelf* targets unless
specifically requested with sh5* or sh64*.
2007-04-20 11:09:00 +00:00
pooka
9a3c4f612c remove assertion now done in libpuffs 2007-04-20 08:29:28 +00:00
pooka
5ad485727c assert that the file server doesn't try to return more cookies than
it was supposed to
2007-04-20 08:28:53 +00:00
ad
b0c22204d2 process_stoptrace: after setting a pending stop on curproc, call issignal
once to have it do the needful. PR kern/36161.
2007-04-19 22:42:10 +00:00
pooka
89a0f35e6c improve descriptions and markup 2007-04-19 21:03:00 +00:00
pooka
4895c619c9 use puffs_cc_getspecific() where puffs_usermount is not required 2007-04-19 20:31:09 +00:00
xtraeme
d5f3ba6a73 Fix a debug printf. 2007-04-19 20:24:47 +00:00
xtraeme
7b1f83bdfc Add more debugging printfs, to see the raw data returned by
the registers.
2007-04-19 20:18:39 +00:00
matt
f93b326c17 Deal with symbol forced to be local (by use of .hidden or by linker version
files).
2007-04-19 19:50:59 +00:00
xtraeme
49eb062014 Cosmetics: remove useless comments, unneded headers, wrap a long line. 2007-04-19 14:51:47 +00:00
pooka
5d86889ea0 add puffs_cc_getspecific(pcc), which is shorthand for:
puffs_getspecific(puffs_cc_getusermount(pcc))
2007-04-19 14:45:03 +00:00
xtraeme
3531a933c1 + aiboost, ug.
- viapm.
2007-04-19 14:37:17 +00:00
xtraeme
855e06cf6a ALL: add ug(4).
GENERIC/GENERIC_LAPTOP: add ug(4) commented out.
2007-04-19 14:34:35 +00:00
xtraeme
6aad6735ab * tctrl(4) -> sparc/tctrl(4)
* Mention sparc64/envctrl(4) (hi tnn)
2007-04-19 14:26:58 +00:00
yamt
337d052ee1 hold proclist_mutex when calling psignal(). 2007-04-19 11:05:14 +00:00
yamt
3829d825af malloc: fix a deadlock. 2007-04-19 11:03:44 +00:00
ad
b41e47cfb5 yamt-idlelwp: update status. 2007-04-19 04:22:08 +00:00
thorpej
ff5f40abab Update the thorpej-atomic entry. 2007-04-19 01:06:40 +00:00
matt
ec31ca5aa4 Mark some internal libm symbols as hidden 2007-04-19 00:37:20 +00:00
dyoung
d8fb0f4dac Add optimization hint for compiler. In a debug printf,
s/freeing/flushing/.
2007-04-18 23:22:26 +00:00
matt
517c8a8b40 Make movmemhi insn pattern use "o" constraint to avoid codegen bugs.
Fix some non-use of MEM_P, REG_P, CONST_INT_P.
2007-04-18 22:55:24 +00:00
pooka
7cfb5f2d40 fix readdir prototype 2007-04-18 20:37:05 +00:00
agc
af7508ae15 Take advantage of the new functionality in virtdir_add() to create
intermediate directories automatically.
2007-04-18 20:33:59 +00:00