| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
I have also turned off the older 100% against-the-gABI method[*].
If you must really have it, define "WANT_OLD_BRANDELF_METHOD".
[*] but left the stretching the gABI method until I finish writing the
notes section support in the ELF image loader.
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| | |
Believe it or not, this is heavily stripped down.
|
| |
| |
| |
| | |
is fixed.
|
| |
| |
| |
| | |
Found by: rm -rf /usr/obj/usr/src/sys/boot ; make ; make clean ; cvs -q up
|
| |
| |
| |
| |
| | |
PR: bin/16926
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
csc_route and func_route to hold the way that each interrupt is
routed. csc is Card Status Change in the datasheets and standard, but
is called "Management Interrupt" in FreeBSDese. There are three types
of interrupt routing: ISA parallel, PCI parallel and ISA serial (some
chipsets support other types as well, but I don't plan on supporting
them).
When we try to allocate an interrupt, and the type for that interrupt
is pci_parallel, allow it to be shared by oring in RF_SHAREABLE to the
flags argument. Introduce pcic_alloc_resource to allow this to
happen.
|
| |
| |
| |
| |
| |
| | |
who was logged in at a certain time and date.
Obtained from: OpenBSD
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
file is processed by passing its name in argv[1]:
return(mod_loadobj(typestr, argv[1]));
however, it is not tested to see if argv[1] actually is defined.
At best, mod_loadobj() near line 244 returns an error like
"can't find 'garbage'" but if the "filename" entered is sufficiently
long, some buffer gets overrun. Of course, "load -t filename" is
actually a typo because we meant to type "load -t mfs_root filename";
nevertheless, a hung machine seems like too harsh a punishment for
such a small typo...
PR: i386/27693
Submitted by: Adrian Steinmann <ast@marabu.ch>
MFC after: 1 week
|
| |
| |
| |
| | |
Reviewed by: hackers
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
about non-existent mount directories (which would come
into existence after the real mount has occured) when just
testing for if there are any NFS filesystems in /etc/fstab.
PR: bin/26597
Submitted by: Dmitry Morozovsky <marck@rinet.ru>
MFC after: 3 days
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
breakage:
- call PCIB_ROUTE_INTERRUPT() regardless of how valid the intline looks.
Some alphas leave garbage in the intline and leave the intr mapping
to OS platform support routines that map slots/buses to intlines
- Down in the alpha pci code, first try platform.pci_intr_route() and
if it doesn't exist or returns garbage, just read the intline out of
config space.
tested on AS500 (garbage in intline) and UP1000 (PC-like, intline is valid)
Note that a nice little hack like the APIC_IO section of pci_cfgregread()
is not workable. This is because the calling interface for
alpha_pci_route_interrupt() requires us to figure out the bus/slot/etc
from a device_t. At pci_read_device() time, we don't have a device_t
for the bus/slot/func in question.
|
| |
| |
| |
| |
| |
| | |
Place period at the end of AUTHORS section.
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| | |
real uid
info is in the credential also.
Submitted by: egge
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Noteworthy changes include:
* Use getopt(3).
* Fix overflows in -b and -w options.
* Use strlcpy(3) and snprintf(3) in favor of strcpy(3) and
sprintf(3), respectively. Also check return values of the former
two.
* Fix lots of other gratuitous differences with OpenBSD.
Obtained from: OpenBSD
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also take a stab at cleaning up BDECFLAGS and convert all uses of
NOSTR, NIL, NONE, NOVAR, NOGRP, NOGE to NULL. Also kill 'register' to
get diffs somewhat closer to OpenBSD/NetBSD.
There are no functional changes however.
Reviewed by: nra (visual inspection)
|
| |
| |
| |
| | |
Submitted by: Umesh Krishnaswamy <umesh@juniper.net>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
instead of using two malloced arrays for storing channel lists, use an
slist. convert the sndstat device to use sbufs and optionally provide more
detail about channel state.
vchans are software mixed playback channels. they are not enabled by this
commit. they use the feeder infrastructure to emulate normal playback
channels in a manner transparent to applications, whilst providing as many
channels are desired, especially suitable for devices with only one hardware
playback channel. in the future they will provide additional features.
those wishing to test this functionality will need to add vchan.c to
sys/conf/files and use 'sysctl -w hw.snd.pcm0.vchans' to enable it.
blocksize and auto-rate selection are not yet supported.
|
| |
| |
| |
| | |
"create".
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
set free'd pointers to NULL in sndbuf_free()
add a new function
|
| | |
|
| |
| |
| |
| | |
Add a dire warning about the experimental nature of threaded Perl.
|
| |
| |
| |
| |
| | |
PR: 27669
Submitted by: Eoin Lawless <eoin@maths.tcd.ie>
|
| | |
|
| |
| |
| |
| |
| | |
world example of the use of the valid keyword in conjunction with budget
handling.
|
| |
| |
| |
| |
| |
| |
| |
| | |
the -c option [when CONS_CLRHIST isn't defined]. This is okay since
the only time CONS_CLRHIST wouldn't be defined is when kbdcontrol is
being built in bootstrap-tools, and -c isn't needed then.
Submitted by: imp
|
| |
| |
| |
| |
| |
| |
| |
| | |
the irq will be unshareable, as things are now.
More work likely is needed, but this is a good checkpoint.
# pcic_pci.c is getting closer :-)
|
| |
| |
| |
| | |
this is a build tool, so it has to build on 4.x with the old headers.
|
| |
| |
| |
| |
| | |
are zero. This is so that users will see the "no addtional sense" printout
and know that they have the full sense information.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
SC_DEV isn't NULL; if it is, evaluate to NULL and don't dereference
NULL. Callers of VIRTUAL_TTY must already check for the result being
NULL since si_tty can be NULL, so this should be safe.
This fixes a panic when trying to switch to a different vty in an
environment such as userconfig (-c option to the kernel).
PR: 26508
|
| |
| |
| |
| |
| |
| |
| | |
CONS_CLRHIST ioctl.
PR: 27616
Reviewed by: ru
|
| |
| |
| |
| |
| |
| |
| | |
(scroll-back) buffer.
PR: 27616
Reviewed by: ru
|
| |
| |
| |
| | |
Reviewed by: phk
|
| |
| |
| |
| | |
MFC after: 1 week
|
| |
| |
| |
| | |
MFC after: 1 week
|
| |
| |
| |
| | |
MFC after: 1 week
|
| | |
|
| |
| |
| |
| | |
Reviewed by: bde
|
| |
| |
| |
| | |
PR: 27656
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the saved uid and gid during execve(). Unfortunately, the optimizations
were incorrect in the case where the credential was updated, skipping
the setting of the saved uid and gid when new credentials were generated.
This change corrects that problem by handling the newcred!=NULL case
correctly.
Reported/tested by: David Malone <dwmalone@maths.tcd.ie>
Obtained from: TrustedBSD Project
|
| | |
|
| |
| |
| |
| | |
Update RFC references (should have done that ages ago...)
|
| | |
|
| | |
|