| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reviewed by: bmilekic, silby
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
don't probe the server at all for passwd.by* maps. This fixes
interoperability with the Services For UNIX NIS server (which is
really a front end to Captive^WActiveDirectory). This server
incorrectly returns success for all YPPROC_MASTER requests,
even for maps that don't exist, which makes it impossible to
(ab)use it to probe for the existence of the master.passwd.by*
maps.
This is a little kludgey, but basically restores the original
behavior of getpwent.c as it is in -stable, and works around both
the lack of YPPROC_ORDER on NIS+ servers as well as the broken
YPPROC_MASTER on Services For UNIX servers.
|
|
|
|
|
|
| |
Some of the calls to bus_dmamap_sync() were syncing the DMA descriptor
ring maps using the mbuf tag, when they should have been using the
descriptor ring tag instead.
|
|
|
|
|
|
| |
Use the macro max number of swap devices rather than cache the constant
in a variable.
Avoid a (now) pointless variable.
|
|
|
|
|
|
|
| |
specification format.
Approved by: schweikh (mentor)
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
|
|
| |
bit or not from lock to unlock time.
Suggested by: jhb
|
|
|
|
|
|
|
|
|
|
|
|
| |
ID for each file system in addition to the normal information.
In umount(8), accept filesystem IDs as well as the usual device and
path names. This makes it possible to unambiguously specify which
file system is to be unmounted even when two or more file systems
share the same device and mountpoint names (e.g. NFS mounts from
the same export into different chroots).
Suggested by: Dan Nelson <dnelson@allantgroup.com>
|
|
|
|
| |
M_WAITOK nor M_NOWAIT.
|
|
|
|
| |
PR: kern/53005
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
check for raw IP system management operations is often (although
not always) implicit due to the namespacing of raw IP sockets. I.e.,
you have to have privilege to get a raw IP socket, so much of the
management code sitting on raw IP sockets assumes that any requests
on the socket should be granted privilege.
Obtained from: TrustedBSD Project
Product of: France
|
|
|
|
|
|
|
| |
uma_zalloc) is called with exactly one of either M_WAITOK or M_NOWAIT and
that it is called with neither M_TRYWAIT or M_DONTWAIT. Print a warning
if anything is wrong. Default to M_WAITOK of no flag is given. This is the
same test as in malloc(9).
|
| |
|
|
|
|
|
|
|
|
| |
ACL that generated the error, rather than the function, which is
more user-friendly.
Obtained from: TrustedBSD Project
Product of: France
|
|
|
|
| |
and the plaintext word "option" after "</option>" at another.
|
| |
|
| |
|
|
|
|
|
| |
PR: 54604
Submitted by: Pawel Jakub Dawidek
|
|
|
|
|
|
|
|
|
|
|
| |
the scope of operation to the ARP entries on a particular
interface. It should be useful on machines with numerous
network interfaces, e.g., on inter-VLAN routers.
PR: bin/54151
Submitted by: Dmitry Morozovsky <marck at rinet.ru>
Discussed on: -net
MFC after: 2 weeks
|
|
|
|
|
| |
without "make depend" works, "make -j N" works, and lists of source
files are made vertical to reduce future diffs.
|
|
|
|
|
|
|
|
|
|
| |
- Add some wlan(4) related cross-references.
- Add some "device" lines to SYNOPSIS
- Correct grammar/sentencing in ath_hal(4) manual page
PR: docs/54114
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
Approved by: des (mentor)
|
|
|
|
|
|
|
| |
in calling fprintf() with a NULL fp. Strange enough this didn't result
in cores in stable, but results in cores now.
MFC after: 2 weeks
|
|
|
|
| |
radix-tree code imposes, truncate the device instead of rejecting it.
|
|
|
|
|
|
|
|
|
| |
the "toss the largest process" emergency handling) from vm_map.c to
swap_pager.c.
The quantity calculated depends strongly on the internals of the
swap_pager and by moving it, we no longer need to expose the
internal metrics of the swap_pager to the world.
|
|
|
|
|
|
|
| |
paging space and how much of it is in use (in pages).
Use this interface from the Linuxolator instead of groping around in the
internals of the swap_pager.
|
|
|
|
|
|
|
|
|
| |
is not natural and needlessly exposes a lot of dirty laundry.
Move private interfaces between the two from swap_pager.h to swap_pager.c
and staticize as much as possible.
No functional change.
|
| |
|
|
|
|
| |
includes the filesystem type name, remove the "type" output parameter.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
when it blocks; it only gets reset when it yields.
Properly set a thread's default stack guardsize.
Reviewed by: davidxu
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
handed-off/signaled to a higher priority thread. Note that when
there are idle KSEs that could run the higher priority thread,
we still add the preemption point because it seems to take the
kernel a while to schedule an idle KSE. The drawbacks are that
threads will be swapped more often between CPUs (KSEs) and
that there will be an extra userland context switch (the idle
KSE is still woken and will probably resume the preempted
thread). We'll revisit this if and when idle CPU/KSE wakeup
times improve.
Inspired by: Petri Helenius <pete@he.iki.fi>
Reviewed by: davidxu
|
|
|
|
| |
Reviewed by: davidxu
|
|
|
|
|
|
|
|
| |
of by mount point, umount had to take care not to unmount the wrong
file system if another file system was covering the requested one.
Now that the file system to unmount is specified to the kernel using
the filesystem ID, this confusion cannot occur, so remove the code
that checked for it.
|
|
|
|
| |
Submitted by: Skip Ford <skip.ford@verizon.net>
|
|
|
|
|
|
|
|
|
|
|
| |
work when using a graphics chipset which identifies itself as
`VIA CLE266', used in some VIA EPIA boards. Two values need to be
patched in the VESA mode information structure: the widths of the modes
mentioned above are encoded in a format which was unknown to the VESA
module (and to my copy of the VBE spec.) whereas the window memory
segment values seem to be just incorrect.
I tested this on a VIA EPIA-M9000 and -M10000.
|
|
|
|
|
|
|
| |
process. Option -H enables it and it is toggled at the interactive
screen by 'H'.
Submitted by: Jung-uk Kim <jkim@niksun.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
do not clear the `sb_sel' member of the sockbuf structure
while invalidating the receive sockbuf in sorflush(), called
from soshutdown().
The panic was reproduceable from user land by attaching a knote
with EVFILT_READ filters to a socket, disabling further reads
from it using shutdown(2), and then closing it. knote_remove()
was called to remove all knotes from the socket file descriptor
by detaching each using its associated filterops' detach call-
back function, sordetach() in this case, which tried to remove
itself from the invalidated sockbuf's klist (sb_sel.si_note).
PR: kern/54331
|
|
|
|
| |
PR: 54528
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is system bound thread and when it is blocked, no upcall is generated.
o Add ability to libkse to allow it run in pure 1:1 threading mode,
defining SYSTEM_SCOPE_ONLY in Makefile can turn on this option.
o Eliminate code for installing dummy signal handler for sigwait call.
o Add hash table to find thread.
Reviewed by: deischen
|
|
|
|
|
|
|
|
|
|
|
| |
When a signal is being delivered to process, first find a sigwait
thread to deliver, POSIX's argument is speed of delivering signal
to sigwait thread is faster than other ways. A signal in its wait
set will cause sigwait to return the signal number, a signal not
in its wait set but in not blocked by the thread also causes sigwait
to return, but sigwait returns EINTR, sigwait is oneshot operation,
only one signal can be delivered to its wait set, when a signal is
delivered to the sigwait thread, the thread's sigwait state is canceled.
|
|
|
|
|
|
|
| |
o Remove TDF_NOSIGPOST.
o Add a member td_waitset to proc structure, it will be used for sigwait.
Tested by: deischen
|
|
|
|
|
|
|
|
|
|
| |
an appropriate error number after a failure condition.
In particular, three of the changed statements return ESRCH for a
failed pfind(), and in also three places a non-zero return
from p_cansee() will be passed back,
Also noticed by: rwatson
|
|
|
|
|
|
|
|
|
|
|
| |
files, so that SWAP_META_PAGES does not vary either.
swap_pager.c ended up with a value of 16, everybody else 8. Go with
the 16 for now.
This should only have any effect in the "kill processes because we
are out of swap" scenario, where it will make some sort of estimate
of something more precise.
|
|
|
|
|
|
|
| |
The next round of commits will be to fix up locking in it. This lot
is to at least give a consistent base to work off.
OK'ed by: imp, mdodd
|