Commit Graph

111170 Commits

Author SHA1 Message Date
oki 105a3bb543 Added missing syscalls from native syscalls.master. 2003-04-08 10:57:56 +00:00
dsl d20417ef01 Add -t tabstop to synopsis for unexpand 2003-04-08 10:50:30 +00:00
dsl f15823e97e Add -t tabsize to fix bin/21058 2003-04-08 10:47:03 +00:00
fvdl 2812e7d837 Since the size passed in may be different from the fs blocksize, just
allocate a buffer each time instead of using a static one.
2003-04-08 10:02:23 +00:00
dsl 80989e12c8 KNF 2003-04-08 09:44:47 +00:00
fvdl 0835d456dd dblk should be static. Fixes PR 21020, by Geoff Wing. Patch supplied
by him.
2003-04-08 09:16:19 +00:00
wiz 3297c18d12 gdb(1), not ddb(4). Noted by mrg. 2003-04-08 07:58:56 +00:00
wiz 4072f61f9b Use .Ss for subsections. 2003-04-08 07:51:39 +00:00
wiz 7feb1a243c ddb(4), not gdb(4). 2003-04-08 07:50:49 +00:00
he 6a6aa0e6ca Track the SBSIZE -> SBLOCKSIZE rename after the UFS2 merge. 2003-04-08 06:54:24 +00:00
jdc 6e028f681b Add mvwin manual pages.
From PR 21041.
2003-04-08 06:02:17 +00:00
jdc 38b99f1400 Make sure that windows are not off the left or top edges of the screen.
Noticed while looking at PR 21041.
2003-04-08 05:56:01 +00:00
jdc 119cd94332 Document mvwin().
Fixes PR 21041 by Tyler Retzlaff.
2003-04-08 05:53:49 +00:00
kml 0ad9e0dccc Host AP power saving support. The Host AP notices that the power
saving bit is set in incoming frames from a station, and buffers the
outgoing frames for the station until they are polled for.  This
requires support in the driver to set a bit in the TIM bitmap sent
during 802.11 beacons.

So far, support for power saving in Host AP mode is only available
for the PRISM2 chipset.
2003-04-08 04:31:23 +00:00
petrov cc92472571 Fix alignment for socket addresses in routing socket requests for
LP64 machines. Addresses port-alpha/11089. Reviewed by thorpej.
2003-04-08 04:04:01 +00:00
lukem 5b7b2b655b Document that the flag that sets RB_ASKNAME (usually '-a') also asks
for the path to init(8).
Per discussion with Geoff Wing on the (unrelated) PR/21060.
Other consistency tweaks.
2003-04-08 03:49:44 +00:00
uwe cb7b4919ec Make v8_*_len symbols local so that they don't get in the way in ddb. 2003-04-08 01:51:46 +00:00
perry 9738336d1a note that kent seems to be the auich maintainer 2003-04-08 01:32:57 +00:00
itojun 6605cddb45 new copyright notice (w/ TNF copyright). thanks millert 2003-04-08 01:19:08 +00:00
perry fc36ea0706 Niels handles systrace 2003-04-08 01:17:36 +00:00
he eeae862145 Track the SBSIZE -> SBLOCKSIZE rename done by the UFS2 merge. 2003-04-07 21:42:53 +00:00
matt 021b37ca56 Add a KASSERT to pmap_extract so that vtophys is never attempted on a
mapped user address.
2003-04-07 21:42:14 +00:00
nathanw 2a4cef11ba When threads are started, register an atfork callback to clear
pthread__started in the child process. This lets sleep() work in the
child, as required by POSIX.
2003-04-07 21:29:48 +00:00
nathanw cffc057ae2 Oops, make the atfork queues static so they don't pollute the
namespace.
2003-04-07 21:09:57 +00:00
kleink 3b364b9b85 Make sure we reference getcontext() by its internal name. 2003-04-07 21:04:20 +00:00
scw bfc4be13a6 When MEMCOPY is defined, don't bother checking if a backwards-copy is
required. That's what memmove() is for.

This should fix port-powerpc/16889. The backwards copyin can confuse
uiomove/genfs_getpages, resulting in corruption of files written over NFS.
2003-04-07 21:04:19 +00:00
kleink e77f46b397 Fix stack pointer fixup of oucp (a relict from times when this
was implemented entirely different, and then bit rot commenced).
2003-04-07 19:44:40 +00:00
nathanw 45c9543071 Consistently use pthread__assert() rather than err() to assert that
timer_settime() worked, and don't bother calling err() after a
pthread__assert() call.
2003-04-07 19:41:22 +00:00
jdolecek 1cd92a1660 use pools instead of malloc(9) for allocation of smb request structures
convert all code to use smb_{rq|t2}_alloc() instead of allocating
structures on stack, make smb_rq_init()/smb_t2_init() static and not
exported outside smb_rq.c
2003-04-07 19:35:39 +00:00
jdolecek e9a8600833 smbfs_closel(): fix inverted test in directory case 2003-04-07 19:31:01 +00:00
perry 2c736e195a Temporarily revert last. It now screws over symlinks from the destdir,
which is the inverse problem. It is fixable by piping one pax -w into
a pax -r instead of using a pax -rw, but unfortunately that won't work
yet because I've hit a pax issue. I'll fix that and then fix this right.
2003-04-07 17:22:19 +00:00
kleink aa92e94d2a Observed in other places: move __unsetenv13.c near unsetenv.c, only
group name space wrappers separately.
2003-04-07 17:18:20 +00:00
drochner 1a9947a7d7 unsetenv(3) returns "int" now 2003-04-07 16:29:06 +00:00
drochner 22b67837d4 compile unsetenv(3) into libc or you'll mess up your system 2003-04-07 16:22:43 +00:00
jdolecek b10e3d8272 note SMBFS now uses NT Directory Change Notify for vnode events
(first open source kernel smbfs implementation to do so, BTW)
2003-04-07 15:51:11 +00:00
kleink 04af939311 Note update of tzdata. 2003-04-07 15:09:23 +00:00
kleink 110fcacc61 Add ./usr/share/zoneinfo/Antarctica/Rothera (tzdata2003a). 2003-04-07 15:04:53 +00:00
kleink 329a5e8d04 Merge tzdata2003a. 2003-04-07 14:56:16 +00:00
kleink dd33b066ac Import tzdata2003a. 2003-04-07 14:50:38 +00:00
jdolecek e9680c83fc add TNF copyright licence for recent changes 2003-04-07 13:56:13 +00:00
kleink d28252dca3 libc.so.12.97. 2003-04-07 13:42:42 +00:00
kleink 5edfa3f673 Bump to 12.97: addition of __unsetenv13(). 2003-04-07 13:41:56 +00:00
kleink 13dee93fb3 1003.1-2001 has introduced unsetenv() which differs from the current
implementation in not permitting a "name=value" argument.
* Add a conforming __unsetenv13() and do function renaming for
  unsetenv(); preserve old symbol with old behavior.
* Make visible setenv() and unsetenv() for 1003.1-2001 feature selection
  macros; resolves PR standards/20479.
2003-04-07 13:41:13 +00:00
fvdl 253e7c6b6a Don't print the version of the argument structure, it's easily confused
with the NFS version.
2003-04-07 13:31:17 +00:00
jdolecek 489f0e16b9 fix a fatal pasto in -O parsing code - if only the 'cowner:cgroup'
part would be specified (i.e. no '/' in the string), smb_parse_owner()
would be called with NULL 'cp' with obvious results; call it with 'p'
instead, so that the 'sowner:sgroup' is really optional as the code intended

problem pointed out by Masao Uebayashi <uebayasi at pultek dot co dot jp>
in private mail

smb_parse_owner(): put the group/user name in apostrophes in error message,
for readability
2003-04-07 12:36:26 +00:00
jdolecek 7dbdaa2a4e smbfs_open(): reenable code mistakely #if 0'd in previous revision, make
sure it's only skipped in 'directory' case
2003-04-07 12:21:40 +00:00
jdolecek db1373faf6 g/c smbfs_kqinit() prototype, it is no more 2003-04-07 12:04:40 +00:00
jdolecek c0fd3735dc use NT DIRECTORY CHANGE NOTIFY to watch for directory kevents if the
server supports it
for this, need NT CREATE AND X a directory in smbfs_open(), so that
we get the FID handle used for DIRECTORY CHANGE NOTIFY SMB

this could eventually be used to 'watch' even regular files, by
watching its parent directory and lookup/VN_KNOTE() when we get
REMOVED/RENAMED/MODIFIED action

also reorganize the kqueue code somewhat to use simplify locking
and knote detach
2003-04-07 12:04:15 +00:00
he 672b90d3f1 Fix this so that it compiles after the UFS2 merge. This program can
still only deal with UFS1 file systems.

Reviewed by scw.
2003-04-07 11:45:55 +00:00
jdolecek b37f22dc9f add support for asynchronous execution of SMB requests:
* add receive hook - if set, this function is called when request is finished
* unstatic smb_rq_enqueue(), smb_rq_reply() so that code can use that
  independant of smb_rq_simple() et al
this is needed for NT DIRECTORY CHANGE NOTIFY SMB, since they typically
take very long to complete and we want to be able to use single kernel thread
to handle them all

add support for 'nowait' requests (flag SMBR_NOWAIT), which don't expect
and answer from server and are marked as 'processed' immediatelly
after they are sent to server - needed for NT CANCEL SMB
2003-04-07 11:23:02 +00:00