| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the TrustedBSD MAC Framework:
- Add mac_atalk.c and add explicit entry point mac_netatalk_aarp_send()
for AARP packet labeling, rather than using a generic link layer
entry point.
- Add mac_inet6.c and add explicit entry point mac_netinet6_nd6_send()
for ND6 packet labeling, rather than using a generic link layer entry
point.
- Add expliict entry point mac_netinet_arp_send() for ARP packet
labeling, and mac_netinet_igmp_send() for IGMP packet labeling,
rather than using a generic link layer entry point.
- Remove previous genering link layer entry point,
mac_mbuf_create_linklayer() as it is no longer used.
- Add implementations of new entry points to various policies, largely
by replicating the existing link layer entry point for them; remove
old link layer entry point implementation.
- Make MAC_IFNET_LOCK(), MAC_IFNET_UNLOCK(), and mac_ifnet_mtx global
to the MAC Framework rather than static to mac_net.c as it is now
needed outside of mac_net.c.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
| |
a generic initialized test.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
|
|
|
|
| |
selected interface. wpa_supplicant does not only handle WPA
authentication but also EAP/LEAP as well as WEP encryption or no
encryption at all. The patch clarifies this.
PR: 117046
Submitted by: lme
Reviewed by: bruffer
Approved by: jkois (mentor)
|
|
|
|
|
|
| |
"The Wizard of Oz"
One duplicate was also removed that wasn't the right quote anyway
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This can only happen on 32-bit systems when you're reading
an uncompressed archive and the skip request is an exact
multiple of 4G (e.g., skipping a tar entry with an 8G body).
The symptom is that the read_ahead() ends up returning zero
bytes, and the extraction stops with a premature end-of-file.
Using '1' here is more correct anyway, as it allows read_ahead()
to function opportunistically and minimize copying.
MFC after: 5 days
|
|
|
|
| |
(_c < 0 || _c >= 128) to (_c & ~0x7F)
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
| |
reason (not all BIOSen have _DIS methods for all link devices for example).
This matches the behavior of attach() with respect to _DIS as well.
Submitted by: njl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
userland preemption directly from hardclock() via sched_clock() when a
thread uses up a full quantum instead of using a periodic timeout to cause
a userland preemption every so often. This fixes a potential deadlock
when IPI_PREEMPTION isn't enabled where softclock blocks on a lock held
by a thread pinned or bound to another CPU. The current thread on that
CPU will never be preempted while softclock is blocked.
Note that ULE already drives its round-robin userland preemption from
sched_clock() as well and always enables IPI_PREEMPT.
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
at the pager prompt to abort an examine command that spans multiple pages.
MFC after: 1 week
|
|
|
|
|
| |
It should be the final follow-up to an old yet unfinished discussion
on whether IFF_LOOPBACK is necessary for disc(4) and why.
|
|
|
|
|
|
|
|
| |
__MAKE_SHELL variable. This feature isn't supposed to be in wide
use, but it's needed now to make `installworld' independent of the
stock binaries and libs so that radical ABI changes can go in safely.
Reviewed by: ru
|
|
|
|
|
|
|
| |
a private softc list is needed neither for tracking clones in general
nor for destroying all clones before the module unload -- if_clone
takes care of all that. (Note that some other interface drivers do
need a softc list to be able to scan it for their private purposes.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a versatile emergency tool:
o sed(1) as a multi-purpose text filter -- can do grep's job and much more.
o head(1), tail(1), and tee(1) as idiomatic text filters.
o mt(1) to control tape drives (PR misc/98383).
o chown(8) aka chgrp(8) to complement the ch* subset.
o pkill(1) aka pgrep(1) to control running processes easily and thus to be
able to recover from a serious problem or a fatal typo in an otherwise live
system w/o a reboot. (It also deserves adding to rescue(8) for its having
triggered a latent bug in crunchgen(1), but we had better add a regression
test for that. :-)
The resulting change in rescue(8) size has the following order of magnitude
on i386: 3787656 - 3727872 = 59784, i.e. just a tad.
Discussed on: -hackers (I seem to have wearied all opponents :-)
PR: misc/98383
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
noatime, noexec, suiddir, nosuid, nosymfollow, union,
noclusterr, noclusterw, multilabel, acls, force, update,
async. These options correspond to MOPT_STDOPTS, MOPT_FORCE, MOPT_UPDATE,
and MOPT_ASYNC.
Currently, mount_nfs converts these "-o" options from strings
to MNT_ flags via getmntopts(),
and passes the flags from userspace to the kernel.
This change will allow us in future to pass these mount options
as strings directly to the kernel via nmount() when doing NFS mounts.
|
| |
|
|
|
|
| |
Noticed by: bde
|
|
|
|
|
|
|
|
|
|
|
|
| |
argv[1] to mimic crt0 behaviour. Do the job by a direct assignment
to __progname in order to stay compatible with NetBSD, whose
setprogname() is a deliberate no-op.
The reason for this change is that some programs (usually those
imported from NetBSD) use getprogname() to distinguish between their
aliases. (See pkill aka pgrep for example.)
This change can be useful, and applicable, to NetBSD, too.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
out instead of returning an error.
(1) This makes the behavior consistent with mount(2).
(2) This makes update mounts on the root file system work properly.
(3) The explicit checks for MNT_ROOTFS in src/sbin/fsck_ffs/main.c
and src/usr.sbin/mountd/mountd.c which were put in to
eliminate errors during update mounts on the root file system
can be removed.
The only place were MNT_ROOTFS can be validly set
is inside the kernel, i.e. with vfs_mountroot_try().
Reviewed by: phk
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
|
| |
handle to the PCI device_t if the ACPI device_t is already attached to a
driver. This happens on the Tablet TC1000 which for some reason includes
two PCI-ISA bridges and treats the second bridge as an ACPI system resource
device.
Reviewed by: njl (a while ago)
MFC after: 3 days
|
|
|
|
|
|
|
| |
local APIC is present or not. All amd64 CPUs have a local APIC and some
BIOSen don't set the CPUID_APIC flag.
MFC after: 1 week
|
|
|
|
|
|
| |
Actually support the new HT capability type from HT 2.00b.
MFC after: 3 days
|
|
|
|
|
|
| |
disable it with _DIS rather than assigning it an IRQ on resume.
MFC after: 1 week
|
|
|
|
|
|
|
| |
manager in hex vs decimal to 1000 from 100 so that IRQs are printed in
decimal.
MFC after: 3 days
|
|
|
|
|
| |
case where mountd would fail to start with "out of memory" logged to
syslog.
|
|
|
|
|
|
|
| |
in the mac_test policy, rather than sharing a single function for all of
the access control checks.
Obtained from: TrustedBSD Project
|
|
|
|
|
| |
hardcode 128 here instead, since default locale never define anything
above 127 char.
|
|
|
|
| |
Fix some comments.
|
| |
|
|
|
|
|
|
|
| |
have an idle process yet.
I'm guessing that on my system this was always 0 already.
found by: Ed Schouten
|
|
|
|
|
|
|
|
|
| |
that would have an offset beyond the end of the target object. Such
pages should remain in the source object.
MFC after: 3 days
Diagnosed and reviewed by: Kostik Belousov
Reported and tested by: Peter Holm
|
|
|
|
|
| |
all the work in kproc_exit must be done.
We don't actually have a user of this yet but why leave it to chance.
|
| |
|
|
|
|
|
|
| |
reorganization.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
|
| |
defined. This lets each boot program choose which version of cgbase() it
wants to use rather than forcing ufsread.c to have that knowledge.
MFC after: 1 week
Discussed with: imp
|
|
|
|
|
|
|
|
|
|
| |
AD1981B AC97 codec, unifying master volume control.
* Remap "phout" --> SOUND_MIXER_VOLUME (internal speakers)
* Virtual "vol" --> { "phout", "ogain" (headphone) }
Tested by: Frederic Chardon
MFC after: 3 days
|
|
|
|
|
|
|
| |
automuting internal speakers.
Tested by: Frederic Chardon
MFC after: 3 days
|
| |
|
|
|
|
| |
Approved by: jkois (mentor)
|
| |
|
|
|
|
| |
thanks to: ru@
|
| |
|
|
|
|
|
|
| |
PR: docs/116658
Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk>
MFC after: 3 days
|
|
|
|
|
|
| |
during depend on amd64.
Reported by: rwatson
|
| |
|
|
|
|
|
|
|
|
| |
saves about 500 bytes in the boot code. While the AT91RM9200 has 12k
of space for the boot loader, which is more than i386's 8k, the code
generated by gcc is a bit bigger.
I've had this in p4 for about two years now.
|
|
|
|
|
| |
- Note that my last commit was discussed with remko@.
- Note that my first mentee will be miwi@.
|