| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Pass zero for sysctl new argument length, not NULL);
|
|
|
|
| |
to 32 bits and print warning.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(calling a __dead2 function such as panic() at the end of a function), the
saved %eip on the stack will actually not be part of the function that
executed a call instruction but instead will be the first instruction of
the next function in the text. This happens with dblfault_handler() and
syscall() for example. Work around this in the one place it matters by
looking at the saved %eip - 1 to determine the calling function when we
check for "magic" frames.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
| |
provides truer debugger stack traces. For those that want to stick with
-O2 kernel builds, one should probably add -fno-optimize-sibling-calls
so that each stack frame as a frame pointer.
It is semi-promissed by the Release Engineers that when RELENG_6 is
created we go back to -O2.
Desired by: scottl, jhb
|
|
|
|
| |
Submitted by: Coleman Kane
|
| |
|
|
|
|
|
| |
PR: bin/76374
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
the user indicating that su is not running setuid, which may help
suggest to the user that it should be setuid, or should not be
running from a file system mounted nosuid.
Suggsted by: Ivan Voras <ivoras at fer dot hr>
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
/etc/defaults/rc.conf.
PR: conf/76188
Submitted by: Arne Wörner <arne_woerner at yahoo dot com>
Approved by: murray
MFC After: 7 days
|
|
|
|
|
| |
- Change signedness of nxtfld() to make msgs(1) WARNS=6 clean
- Add several static's
|
|
|
|
| |
intended to be there...
|
|
|
|
|
|
|
| |
- Initialize everything in the struct array, not only the mentioned
ones
- Unconditionally initialize hs to 0 to avoid repeatly doing so
- Cast to unsigned int when comparing to unsigned variables.
|
|
|
|
|
|
|
| |
- signed/unsigned conform.
- Better initialization of nlist[]. I think we should have
something like NLIST_NULL instead of the current (ugly)
form...
|
|
|
|
| |
to NULL at start.
|
|
|
|
|
|
|
|
|
|
| |
and so the fix committed in r1.42 was not quite correct for the case
where there are two or more DHCP consuming removable interfaces - dhclient
must be restarted so that the other interfaces continue to function
correctly.
Approved by: murray
MFC After: 7 days
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
library. As the value suggests, this allows the library to be built repeatably;
without this flag, gcc uses a random value in its parsing.
Since the random seed is only used when handling files which do not have any
externally-visible symbols, this change is not needed for any other libraries
in the FreeBSD base system.
Discussed on: freebsd-arch (in early November)
Approved by: kan
MFC after: 1 week
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
they both happen before pipe backing allocation occurs. Previously,
a pipe memory shortage would cause a panic due to a KNOTE call
on an uninitialized si_note.
Reported by: Peter Holm
MFC after: 1 week
|
| |
|
|
|
|
|
| |
transfers. The necessary context for calling copyin() isn't available
anyway and automatic code-validation chokes on this.
|
|
|
|
|
|
|
|
|
| |
for the vast majority of our cards. However, they are critically
needed to distinguish different fe based PC Cards (the FMV-182 from
the 182A) which need to be treated differently (the ethernet address
is loaded not from the standard CIS-based ethernet tuples, but from
differing locations in attribute space based on the version string in
CIS3. This should have no impact for other users of this function.
|
|
|
|
| |
Submitted by: ru
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for libarchive error messages. Mostly, this
avoids a portability headache related to
copying va_list arguments (some FreeBSD 5
platforms require va_copy; FreeBSD 4 doesn't
support va_copy at all). It also dramatically reduces the
size of libarchive for embedded applications:
a minimal "untar" program using libarchive can now be
under 64k statically linked (as opposed to ~100k
using library *printf() functions).
MFC after: 14 days
|
|
|
|
|
|
|
| |
Also break long lines -- note that the '\' must be up against the last
character of a line to keep command-line spacing proper.
Requested by: rwatson
|
|
|
|
|
|
|
|
|
| |
unhappiness lately.
As far as I can tell, no files that have made it safely to disk
have been endangered, but stuff in transit has been in peril.
Pointy hat: phk
|
| |
|
|
|
|
|
|
|
| |
T1.617 AnnexD.
Locking shift procedure is described in ANSI T1.607.
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 days
|
| |
|
| |
|
| |
|
|
|
|
| |
Sort standard sections in the (documented) preferred order.
|
|
|
|
|
|
|
| |
of a structure for the sockaddr_in. Pass the pointer to connect()
instead of the pointer to the pointer.
Specify a port number to connect to.
|
| |
|
| |
|
|
|
|
|
| |
so that bus_dmamap_sync() knows what to invalidate. This makes em(4) work again.
While I'm there, remove the unused "first" variable.
|
|
|
|
|
|
|
| |
unfixed bug in the jail() implementation relating to using the connect()
system call on UDP sockets.
PR: 26506
|
| |
|
|
|
|
|
| |
in struct ip_fw_args itself.
- Remove redundant &= 0xffff from dummynet_io().
|
| |
|
|
|
|
|
| |
'usage: ' in front of usage string. Use warnx(3) instead of fprintf in error
messages to get progname prepended.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Introduce the amr_io_lock to control access to command queues, bio queues,
and the hardware.
- Eliminate the taskqueue and do all completion processing in the ithread.
- Assign a static slot number to each command instead of doing a linear
search for free slots each time a command is needed.
- Modify the interrupt handler to more closely match what Linux does, for
safety.
|
| |
|
| |
|