Commit Graph

109030 Commits

Author SHA1 Message Date
christos 29cd3b6180 fix memory leaks. 2003-02-24 19:58:09 +00:00
jdolecek 695a1f63b5 const-poison a bit 2003-02-24 19:32:16 +00:00
jdolecek 9a9493a698 make M_SMBRQ static 2003-02-24 19:31:45 +00:00
erh dadb4ce1cf Fix uninitialized variable "notglob" in send_file_list() that was causing
transfers to fail due to an abort in free().
2003-02-24 19:26:49 +00:00
erh 6697099535 Fix uninitialized variable in mlsname() 2003-02-24 19:25:25 +00:00
jdolecek 0c3d39c642 enable mmap and seek vnode ops - this makes mmap(2), lseek(2),
p{read,write}{,v}(2) work
2003-02-24 19:09:02 +00:00
briggs 899f04df9b Bump rescuetiny's ramdisk to match tiny's. 2003-02-24 18:59:26 +00:00
jdolecek 26d1332b7c since smbfs_fctx.f_fname is always used as 'char', may as well define it
that way rather than u_char
2003-02-24 18:45:35 +00:00
jdolecek b5a66cd65b use pool to allocate memory for smbfs nodes
rename smbfs_uninit() to smbfs_done()
some whitespace fixes + use FREE() (not free()) for MALLOC()ed memory
2003-02-24 18:41:04 +00:00
jdolecek 6d0edf1d1b smbfs_lookup():
* make sure islastcn and lockparent is set before used when the entry is cached
* add VWRITE check for nameiop == RENAME, add necessary unlock/relock for
  ISDOTDOT case
adjust smbfs_print() to have slightly nicer output
enable vnode locking
2003-02-24 16:19:05 +00:00
briggs 9a152e34ad Define smb_co_lockstatus iff DEBUG || DIAGNOSTIC. 2003-02-24 16:12:08 +00:00
jdolecek ba728ab921 smbfs_node_alloc():
* use LK_RETRY for the vget()
* turn the check for dead parent vnode to #ifdef DIAGNOSTIC panic
* reformat the hash walk code a little, and only assign vp if entries match
* add some comments
2003-02-24 15:55:08 +00:00
pk a8bd073e6f pv_unlink4m(): don't forget to link in a new PV entry after alias checking. 2003-02-24 15:14:51 +00:00
dsl a5f7364038 Fix the output of NUL bytes within %b formats.
(Approved by Christos)
2003-02-24 14:42:27 +00:00
wiz a01816b280 Obsolete arm32 specific wd(4) man page. 2003-02-24 13:29:55 +00:00
wiz a5ff5be6d3 Remove an obsolete man page (we have MI wd(4) for quite some time now...). 2003-02-24 13:26:24 +00:00
nakayama 3fd1afa7af Add quirk to probe I-O DATA USB-SC2 as umass.
(tested on sparc64 and i386)
2003-02-24 13:11:55 +00:00
nakayama b818704815 Regen. 2003-02-24 13:07:52 +00:00
nakayama 89f39fecfa Add I-O DATA USB2-SC (USB2.0-SCSI Bridge) 2003-02-24 13:06:45 +00:00
lukem 6c12b8f0d2 use LLT and STRTOLL() instead of off_t and strtoull() for parsing the
"larger than int" arguments from commands.  improves portability.
2003-02-24 12:57:06 +00:00
jdolecek 70c11e3518 one #include <sys/lock.h> is enough; keep the #ifdef _KERNEL one 2003-02-24 11:18:03 +00:00
pk d71686ab26 Introduce fdloadfile() to load an image from an open file descriptor;
implement loadfile() in terms of it.

This allows clients to open a file once and "load" it multiple times (e.g.
first with COUNT_KERNEL, then with LOAD_KERNEL) without the side-effects
of multiple open calls.
2003-02-24 10:51:05 +00:00
jdolecek d82babe73c include <sys/lock.h> to get struct simplelock 2003-02-24 10:18:38 +00:00
dsl 9f46bb077a Create subwins that end one line from the bottom of the screen even
after the window is resized.
2003-02-24 10:10:00 +00:00
jdolecek a7a5a493b5 SMBERROR() purge - turn into #ifdef DIAGNOSTIC panics 2003-02-24 10:01:02 +00:00
jdolecek 38b6d81ba3 update for changed locking requirements for smb_share_put() 2003-02-24 09:57:31 +00:00
jdolecek 31a056fdaf clarify locking requirements for smb_{share,vc,co}_{rele,put}() - the lock
must be held on entry
drain the lock in smb_co_gone(), so that it's done always
turn some SMBERROR()s to #ifdef DIAGNOSTIC/DEBUG panics
2003-02-24 09:55:37 +00:00
jdolecek da9a088d46 SMBERROR() purge - replace with KASSERT()s, panic or remove altogether
as appropriate
2003-02-24 09:30:42 +00:00
jdolecek d8ab9af5e5 need <sys/mount.h> now 2003-02-24 09:18:56 +00:00
jdolecek 02229c5641 print also the description of error if mount(2) fails 2003-02-24 09:13:08 +00:00
perseant d5bdd23d68 Convert lfs_cleanerd over to use the new ioctl calls instead of the
lfs syscalls.
2003-02-24 08:48:17 +00:00
perseant 95137c8477 Add lfs_ioctl vnode op, with ioctls to take over cleaner system call
functionality (not including segment clean, since that is now done
automatically as checkpoints happen).
2003-02-24 08:42:49 +00:00
perseant bd6cf7e127 Allow filesystems' VOP_IOCTL to catch ioctl calls on directories and
regular files.  Approved thorpej, fvdl.
2003-02-24 08:34:30 +00:00
matt 4f493fc42d Zero bss in start, not in initppc. 2003-02-24 08:06:42 +00:00
kochi 7a7dfd71a7 Add myself. 2003-02-24 07:47:17 +00:00
matt 8609ed56b8 Only define KERN_AS= object if IDENT has -DLKM. 2003-02-24 07:15:40 +00:00
matt 97d38cdec2 Actually use bzero.S. Also fix bzero to use GET_CPUINFO 2003-02-24 07:14:17 +00:00
matt 05a4c83a70 Don't make memset.c since bzero.o has memset in addition to bzero. 2003-02-24 07:09:18 +00:00
matt 8c1eaadb7a automatic aggregates are evil. make it static const. 2003-02-24 03:01:03 +00:00
atatat 3065ba7178 Execute the actual command as it's set instead of calling the sh
routine directly.  This allows one to to override a specific command
via the use of /etc/rc.conf.d/sysdb.
2003-02-24 01:04:45 +00:00
atatat 83642bd3a6 Cast VM_DEFAULT_ADDRESS() to a caddr_t. 2003-02-24 00:49:43 +00:00
pooka 5046c98de1 adapt for glorious dist/file strategy 2003-02-23 23:46:55 +00:00
pooka 8e43248793 play "minor nit" games 2003-02-23 23:43:52 +00:00
pooka 2e90e27c3b merge local changes 2003-02-23 23:42:50 +00:00
wiz b517ab4402 .Nm still needs "". 2003-02-23 23:40:47 +00:00
thorpej 20c4b7b844 Change pcb32_pagedir to a paddr_t (after all, it's used as a paddr_t
everywhere in the code).
2003-02-23 23:40:01 +00:00
enami 37d7d10857 Remember the allocated ptimer object so that it won't leak. 2003-02-23 23:36:35 +00:00
pooka c650965ed3 merge local changes 2003-02-23 23:34:21 +00:00
simonb 02468768a6 Note libsa LFSv2 support and i386 bootblock support for LFS. 2003-02-23 23:30:39 +00:00
simonb a5781fdcdf Add LFS support for i386. Tested with a "newfs_lfs -A -O 256" root
filesystem.
2003-02-23 23:25:50 +00:00