| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
revision 1.6.
|
|
|
|
|
|
|
| |
To save you all a trip to CVSWEB:
Experts have correctly predicted nine out of the last five recessions.
-- Paul Samuelson, Nobel laureate in economics.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Add some PCI BIOS function calls.
(find_devclass, read_config, write_config)
|
|
|
|
|
|
| |
MAC Framework doesn't require checks in ipcperm() because checks
relating to System V IPC will be performed in individual IPC
implementations.
|
|
|
|
|
| |
userland_sysctl() will perform all necessary privilege checks for
the caller.
|
|
|
|
|
|
|
|
|
| |
as well as document the properties of the mac_policy_conf structure.
Warn about the ABI risks in changing the structure without careful
consideration.
Obtained from: TrustedBSD Project
Sponsored by: SPAWAR
|
|
|
|
|
|
|
| |
will call printf() if KDB isn't compiled into the kernel.
Obtained from: TrustedBSD Project
Sponsored by: SPAWAR
|
| |
|
|
|
|
| |
destroyed in an initialized state.
|
|
|
|
| |
the CVS version of the MAC Framework.
|
|
|
|
|
|
| |
without a mountpoint. In this scenario, there's no useful source for
a label on the vnode, since we can't query the mountpoint for the
labeling strategy or default label.
|
|
|
|
|
|
|
|
|
|
|
| |
jest, of most excellent fancy: he hath taught me lessons a thousand
times; and now, how abhorred in my imagination it is! my gorge rises
at it. Here were those hacks that I have curs'd I know not how
oft. Where be your kludges now? your workarounds? your layering
violations, that were wont to set the table on a roar?
Move the skeleton of specfs into devfs where it now belongs and
bury the rest.
|
|
|
|
|
|
| |
While I'm there use lowercase "yes" for consistency.
Approved by: phk [1]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initialize b_bufobj for all buffers.
Make incore() and gbincore() take a bufobj instead of a vnode.
Make inmem() local to vfs_bio.c
Change a lot of VI_[UN]LOCK(bp->b_vp) to BO_[UN]LOCK(bp->b_bufobj)
also VI_MTX() to BO_MTX(),
Make buf_vlist_add() take a bufobj instead of a vnode.
Eliminate other uses of bp->b_vp where bp->b_bufobj will do.
Various minor polishing: remove "register", turn panic into KASSERT,
use new function declarations, TAILQ_FOREACH_SAFE() etc.
|
|
|
|
| |
Approved by: phk
|
| |
|
|
|
|
| |
PR: bin/71624
|
| |
|
|
|
|
|
|
|
| |
that most packages can not be included. It's much easier to list those
that we do want on disc1 for ia64. We only need to list 11 of them.
Apply proper indentation for better readability.
|
| |
|
| |
|
|
|
|
| |
vendor branch again. (These will need a readline import merge too)
|
|
|
|
|
|
| |
put back on there in the first place. :-(
Note that complete.c will need a readline 5.0 merge.
|
|
|
|
| |
providing hardware for testing.
|
|
|
|
|
|
| |
in the g_up and g_down threads. Each time a bio is propelled up and
down the stack, an event is generating showing the provider, offset,
and length, as well as thread wakeup and work status information.
|
|
|
|
|
|
|
|
|
|
| |
Add bufobj_wref(), bufobj_wdrop() and bufobj_wwait() to handle the write
count on a bufobj. Bufobj_wdrop() replaces vwakeup().
Use these functions all relevant places except in ffs_softdep.c where
the use if interlocked_sleep() makes this impossible.
Rename b_vnbufs to b_bobufs now that we touch all the relevant files anyway.
|
|
|
|
|
|
|
|
|
| |
Initialize the bo_mtx when we allocate a vnode i getnewvnode() For
now we point to the vnodes interlock mutex, that retains the exact
same locking sematics.
Move v_numoutput from vnode to bufobj. Add renaming macro to
postpone code sweep.
|
| |
|
|
|
|
|
|
| |
LIBPTHREAD.
Approved by: phk
|
|
|
|
|
| |
Now that we have encapsulated the splaytree related information
into a structure we can eliminate the half of this function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add new include file <sys/bufobj.h> which will contain the gory
details on the new buffer-cache object. (see comments in file
about the direction this is moving).
Include it from <sys/vnode.h> for now to avoid munging a lot of files
which can later be munged back.
Embed a bufobj in vnode.
Move the buf splay trees from the vnode to the bufobj.
Alias the fields to avoid sweeping code yet.
Hide vnode and bufobj behind
#if defined(_KERNEL) || defined(_KVM_VNODE)
to discourage userland voyeurism.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
modes on a tty structure. Both the ".init" and the current settings
are initialized allowing the function to be used both at attach and
open time.
The function takes an argument to decide if echoing should be enabled
by default. Echoing should not be enabled for regular physical
serial ports unless they are consoles, in which case they should
be configured by ttyconsolemode() instead.
Use the new function throughout.
|
|
|
|
| |
we want to know the vnode structures internals.
|
|
|
|
|
| |
Spotted out by: mux
Pointy hat to: cognet
|
| |
|
|
|
|
| |
Requested by: phk
|
|
|
|
|
|
|
| |
instead of using the V* permission flags from vnode.h. Remove include
of vnode.h.
Requested by: phk
|
|
|
|
|
|
|
|
|
|
|
| |
right bits rather than piggy-backing on the V* rights defined in
vnode.h. The mac_bsdextended bits are given the same values as the V*
bits to make the new kernel module binary compatible with the old
version of libugidfw that uses V* bits. This avoids leaking kernel
API/ABI to user management tools, and in particular should remove the
need for libugidfw to include vnode.h.
Requested by: phk
|
|
|
|
|
|
|
| |
possible to build releases with customizations such as with
NOPROFILE.
Problem found and fix tested by Roman Neuhauser.
|
|
|
|
| |
leak under some cases.
|
|
|
|
|
| |
Approved by: sam (mentor)
MFC after: 1 week
|
|
|
|
| |
Noticed by: ru
|
|
|
|
|
|
|
|
|
|
| |
is locked when vm_page_io_finish() is called on a page. This is to satisfy
a new, post-RELENG_5 assertion in vm_page_io_finish(). (I am in the
process of transitioning the responsibility for synchronizing access to
various fields/flags on the page from the global page queues lock to the
per-object lock.)
Tripped over by: obrien@
|
|
|
|
|
|
|
|
|
| |
unbreak /etc/rc.d/root for diskless systems that get their root
filesystem from a read-only NFS mount.
PR: conf/72927
Submitted by: Ralf Wenk <RZ-FreeBSD1004@fh-karlsruhe.de>
Reviewed by: brooks
|
| |
|
| |
|
|
|
|
|
|
| |
usage() accordingly.
Submitted by: Pawel Worach
|