Commit Graph

110994 Commits

Author SHA1 Message Date
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
jdolecek dfb3906cfb add bunch of NT DIRECTORY CHANGE NOTIFY and NT CREATE AND X related constants
add mapping for ERRDOS:STATUS_NOTIFY_ENUM_DIR and ERRHRD:ERRgeneral
2003-04-07 11:13:24 +00:00
gmcgarry 56f52386ef vfs_setpublic -> vfs_setpublicfs 2003-04-07 07:11:21 +00:00
gmcgarry 5abc9e573e vfs_setpublic.9 -> vfs_setpublicfs.9 2003-04-07 07:09:47 +00:00
wiz 334bfb30b4 More e.g. cleanup. Igor Sobrado, PR 19692. 2003-04-07 07:04:49 +00:00
wiz 07d13217f3 Some e.g. cleanup: replace "eg" with "e.g.,". From Igor Sobrado in PR 19692. 2003-04-07 06:56:38 +00:00
wiz a405f5c87c Some mdoc fixes; drop some unnecessary whitespace. 2003-04-07 06:04:09 +00:00
wiz 7631a5ff4b Use more mdoc macros. Some mdoc fixes.
Remove the following sentence from the BUGS section:
rlogin will be replaced by telnet(1) in the near future.
2003-04-07 05:56:14 +00:00
junyoung 247328b16a As beginning of merging uwscons to -current:
- Add a (temporary) printf to vga_raster_load_font() for tracking font
  loading process. If you encountered "vga_raster_load_font: called"
  kernel message, please let me know.
- While here, some KNF.
2003-04-07 05:48:54 +00:00
christos dfeeeb0064 remove -g accidentally committed 2003-04-07 04:01:32 +00:00
christos 0a5854c253 - stricter bad file format checks
- KNF
- use LIST macros
2003-04-07 04:00:59 +00:00
hubertf fa337680d6 Add -p option to rsh and rlogin to allow specifying a non-standard port
number.
2003-04-07 01:46:41 +00:00
simonb 09b326de30 Make the ID field a little wider. 2003-04-07 01:42:37 +00:00
petrov 64f9771a77 Floating point argument should be in %f0 (sparcv9 ABI says). 2003-04-06 22:56:38 +00:00
wiz f52a7c96ba Uppercase SPARC. From Igor Sobrado in PR 19820. 2003-04-06 21:07:22 +00:00
martin 03b03281c7 Fix buffer overrun noticed by Markus Dolze on the freebsd-isdn mailing
list.
2003-04-06 21:07:09 +00:00
wiz 3e606ffc9d Some sun trademarks correctly spelled, from Igor Sobrado in PR 19820. 2003-04-06 21:05:08 +00:00
wiz e0837140d4 SunOS 4. From Igor Sobrado in PR 19820. 2003-04-06 20:54:16 +00:00
wiz 4bf4dbd27e Uppercase SPARC. PR 19820 from Igor Sobrado. 2003-04-06 20:51:20 +00:00
wiz b511884ea9 Correct some SPARC tradenames. From Igor Sobrado in PR 19820. 2003-04-06 20:48:24 +00:00
wiz 2b75215a67 IPsec, not IPSEC. From Igor Sobrado in PR 19691. 2003-04-06 20:24:35 +00:00
wiz 1afb9ef148 NFSNET. From Igor Sobrado in PR 19691. 2003-04-06 20:14:41 +00:00
wiz 2319d7cfda IPsec, not IPSEC. 2003-04-06 20:11:24 +00:00
salo 6b3dd32f4b Forgot G/C in the previous. 2003-04-06 19:57:09 +00:00
salo 3620eef18b Add ATM, B/C, D/L, DIY, EOD, FCFS, GAC, GAL, GTG, HICA, IAC, IC, ICCL, J/K,
N/M, OMG, OT, PEBKAC, SNR, TBC, TINC, U/L, W/, W/O, WB, WFM, WIP and YW.
2003-04-06 19:51:50 +00:00
wiz 95580fdb41 Fix typo. Igor Sobrado, PR 19691. 2003-04-06 19:44:01 +00:00
wiz d0ca8fad45 Some casing changes, and use Er for EINTR. 2003-04-06 19:42:59 +00:00