jeff
3a58c4d63e
- We don't need any automated lock checking for vop_islocked.
2002-09-26 00:31:16 +00:00
semenu
6f77587af5
Fix the problem introduced by vop_stdbmap() usage. The NTFS does not
...
implement worthful VOP_BMAP() handler, so it expect the blkno not to be
changed by VOP_BMAP(). Otherwise, it'll have to find some tricky way to
determine if bp was VOP_BMAP()ed or not in VOP_STRATEGY().
PR: kern/42139
2002-09-25 23:55:06 +00:00
pst
91648a1554
Enhance TACACS+ library to fully support authorization requests in
...
addition to existing authentication. No change to the existing
APIs to preseve both binary and API compatibility, so I am not
inclined to bump the library version number unless someone thinks
this is necessary.
Submitted by: Paul Fraley <fraley@juniper.net>
MFC after: 2 weeks
2002-09-25 23:18:51 +00:00
jmallett
436cfa1983
Document at least one meaningful RELENG_5 feature, the ability to hide from
...
a user processes which run with an inequivalent class of UID credentials.
Sponsored by: Rachel Hestilow <rachel@jerkcity.com>
2002-09-25 22:17:18 +00:00
knu
0c21f59db2
Update compat3x libc and libc_r from RELENG_3. This fixes the buffer
...
overflow in resolver described in FreeBSD-SA-02:28.resolv.
Binaries built and contributed by; motoyuki
2002-09-25 19:47:54 +00:00
archie
83fa65053c
Adjust for KSE function name changes.
2002-09-25 18:14:38 +00:00
archie
904b65e85d
Make the following name changes to KSE related functions, etc., to better
...
represent their purpose and minimize namespace conflicts:
kse_fn_t -> kse_func_t
struct thread_mailbox -> struct kse_thr_mailbox
thread_interrupt() -> kse_thr_interrupt()
kse_yield() -> kse_release()
kse_new() -> kse_create()
Add missing declaration of kse_thr_interrupt() to <sys/kse.h>.
Regenerate the various generated syscall files. Minor style fixes.
Reviewed by: julian
2002-09-25 18:10:42 +00:00
mike
3df40ef438
<sys/types.h> is no longer needed.
2002-09-25 16:49:09 +00:00
scottl
c977071feb
Do away with AAC_COMPAT_LINUX option entirely. The functionality will
...
automatically be enabled if the kernel is compiled with COMPAT_LINUX.
Submitted by: jhb
MFC after: 3 days
2002-09-25 15:21:50 +00:00
markm
ada687e3c4
Try not to lint(1) contrib'ed sources. This Is Very Messy.
2002-09-25 14:19:51 +00:00
markm
6e3bf1cf9c
Fix a declaration that is actually supposed to be a macro definition.
...
Submitted by: marius@alchemy.franken.de
2002-09-25 13:46:23 +00:00
bde
23905c1c46
Round up instead of towards 0 in clock_getres() so that a resolution of
...
0 is never returned.
PR: 41781
MFC after: 3 days
2002-09-25 12:00:38 +00:00
maxim
1a47919de4
Do not dump core on 'ipfw add unreach': handling null strings in
...
fill_reject_code(). Please note ipfw/ipfw2.c is not affected.
PR: bin/42304
Submitted by: Andy@wantpackets.com
MFC after: 1 day
2002-09-25 11:22:36 +00:00
markm
84c5377d82
Don't lint contrib'ed sources, even if the builder gas asked for it.
...
Its Just Too Noisy.
2002-09-25 09:59:54 +00:00
markm
c62752bf39
Don't lint contrib'ed sources, enven if the builder has asked for it.
...
Its Just Too Noisy.
2002-09-25 09:59:01 +00:00
markm
1244ddc10e
Don't lint contrib'ed sources, even if the builder has asked for linting.
...
Its Just Too Noisy.
2002-09-25 09:58:00 +00:00
markm
84072d95a3
Avoid linting GNU contrib'ed stuff, even if the build engineer asked
...
for it (via WANT_LINT). It's Just Too Noisy.
2002-09-25 09:55:20 +00:00
maxim
f58719dbdb
Disqualify UID/GID with non-numeric character.
...
PR: bin/41721
Reviewed by: tjr, silence on -audit
MFC after: 2 weeks
2002-09-25 08:49:19 +00:00
markm
1407fc5c4e
Unifdef(1) the crypto telnet sources.
2002-09-25 07:53:29 +00:00
markm
7a2e60f0e3
Catch up with "base" telnet.
...
s/FALL THROUGH/FALLTHROUGH/ for lint(1).
2002-09-25 07:28:04 +00:00
markm
0ec9e3f996
Catch up with "base" telnet.
...
s/FALL THROUGH/FALLTHROUGH/ for lint(1).
s/Usage/usage/ for consistency.
2002-09-25 07:26:25 +00:00
markm
8466db9d92
From the requestor:
...
"Could you do me a favor and fix sys_bsd.c to get the howmany() macro
from <sys/param.h>, instead of <sys/types.h>? This will save me from
having to worry about the unsync'd bits before making the change."
Requested by: mike
2002-09-25 07:24:01 +00:00
scottl
045035c203
The AAC_COMPAT_LINUX option was really annoying, since it made the
...
aac driver dependent on the linux emulation module. This was
especially bad for the release engineers who tried to move the
aac driver from the kernel onto the drivers floppy. The linux
compat bits for this driver are now in their own driver, aac_linux.
It can be loaded as a module or compiled into the kernel. For
the latter case, the AAC_COMPAT_LINUX option is needed, along with
the COMPAT_LINUX option.
I've tested this in every configuration I can think of. This is an
MFC candidate for 4.7.
Idea from: rwatson
MFC after: 3 days
2002-09-25 05:00:25 +00:00
bmah
7445e681de
Accomodate change in the output of "make package-depends" that came
...
with ports/Mk/bsd.ports.mk rev. 1.424. (It now prints the origin
after the package name.)
2002-09-25 04:36:07 +00:00
mike
86a758e51b
Use the standardized CHAR_BIT constant instead of NBBY in userland.
2002-09-25 04:06:37 +00:00
brian
b9155304da
Add a pkg_version variable so that it's possible to run portsversion instead
...
of pkg_version in periodic/weekly/400.status-pkg.
2002-09-25 03:01:42 +00:00
jeff
493e51a834
- Remove unused LK_NOOBJ.
2002-09-25 02:49:50 +00:00
jeff
8bebc5fdba
- Convert locks to use standard macros.
...
- Lock access to the buflists.
- Document broken locking.
- Use vrefcnt().
2002-09-25 02:49:48 +00:00
jeff
90e87c8eb5
- Document broken locking.
...
- Use vrefcnt().
2002-09-25 02:47:49 +00:00
jeff
41b9d1ca5d
- Lock accesses to v_usecount.
...
- Convert interlock locks to use standard macros.
2002-09-25 02:45:50 +00:00
jeff
263f8202f6
- Don't use the interlock to protect v_writecount.
2002-09-25 02:44:55 +00:00
jeff
76a1e2b647
- Use vrefcnt() instead of v_usecount.
2002-09-25 02:42:43 +00:00
jeff
65328ea561
- Hold the vn lock over vm_mmap().
2002-09-25 02:42:04 +00:00
jeff
004a26186f
- Use incore() instead of gbincore() so we don't have to acquire the
...
vnode interlock.
2002-09-25 02:39:39 +00:00
jeff
5c7f8a426d
- Lock access to the buf lists.
...
- Use vrefcnt() where appropriate.
- Add some locking asserts.
2002-09-25 02:38:43 +00:00
jeff
906daccf72
- Lock access to the buf lists.
...
- Use vrefcnt() where appropriate.
2002-09-25 02:34:56 +00:00
jeff
d168f755f9
- Use vrefcnt() instead of directly accessing v_usecount.
2002-09-25 02:33:29 +00:00
jeff
f7e588347b
- Use vrefcnt() where it is safe to do so instead of doing direct and
...
unlocked accesses to v_usecount.
- Lock access to the buf lists in the various sync routines. interlock
locking could be avoided almost entirely in leaf filesystems if the
fsync function had a generic helper.
2002-09-25 02:32:42 +00:00
jeff
55a297392d
- Lock access to the buf lists in spec_sync()
...
- Fixup interlock locking in spec_close()
2002-09-25 02:29:49 +00:00
jeff
e314a37c45
- Hold the vp lock while accessing v_vflags.
2002-09-25 02:28:07 +00:00
jeff
ee7cd9172d
- Lock down the syncer with sync_mtx.
...
- Enable vfs_badlock_mutex by default.
- Assert that the vp is locked in VOP_UNLOCK.
- Use standard interlock macros in remaining code.
- Correct a race in getnewvnode().
- Lock access to v_numoutput with interlock.
- Lock access to buf lists and splay tree with interlock.
- Add VOP and VI asserts.
- Lock b_vnbufs with the vnode interlock.
- Add vrefcnt() for callers who want to retreive the vnode ref without
holding a lock. Add a comment that describes when this is safe.
- Add vholdl() and vdropl() so that callers who already own the interlock
can avoid race conditions and unnecessary unlocking.
- Move the VOP_GETATTR() in vflush() into the WRITECLOSE conditional case.
- Hold the interlock before droping the mntlist_mtx in vflush() to avoid
a race.
- Fix locking in vfs_msync().
2002-09-25 02:22:21 +00:00
jeff
881a59ab9e
- Properly lock v_vflags in getdirents().
2002-09-25 02:13:38 +00:00
jeff
8ec2a2de7d
- Use incore() where no other interlock locking is necessary.
...
- Lock access to numoutput.
2002-09-25 02:12:32 +00:00
jeff
54956e8ea4
- Lock accesses to v_numoutput.
...
- Lock calls to gbincore.
2002-09-25 02:11:37 +00:00
wollman
e2ee095e08
Back down to 1003.2-1992 for the time being -- it is causing too many
...
headaches for common but deprecated uses of standard utilities.
2002-09-25 01:58:56 +00:00
jeff
fb08412291
- Don't protect mountedhere with the vn interlock.
...
- Protect mountedhere with the vn lock.
2002-09-25 01:44:21 +00:00
jeff
0649189fd7
- Use the standard vp interlock macros.
2002-09-25 01:42:24 +00:00
jeff
9e67fe9c96
- Finish the struct vnode lock annotation.
...
- Order fields by what lock is required to access them.
2002-09-25 01:37:25 +00:00
jeff
56df6932b3
- Get rid of the unused LK_NOOBJ.
2002-09-25 01:24:58 +00:00
jeff
4792c0673b
- Lock access to numoutput on the swap devices.
2002-09-25 01:24:17 +00:00