| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
LC_CTYPE setting instead of the receiver's when determining which
characters are printable.
|
| |
|
|
|
|
| |
Simplify pmap_remove_pages(), eliminating unnecessary indirection.
|
|
|
|
| |
delimiters with the 's' and 'y' commands.
|
|
|
|
|
|
|
|
|
|
|
| |
using M_PROTO6 and possibly shooting someone's foot, as well as allowing the
firewall to be used in multiple passes, or with a packet classifier frontend,
that may need to explicitly allow a certain packet. Presently this is handled
in the ipfw_chk code as before, though I have run with it moved to upper
layers, and possibly it should apply to ipfilter and pf as well, though this
has not been investigated.
Discussed with: luigi, rwatson
|
|
|
|
|
|
|
|
|
|
|
| |
information being sent to the RADIUS server.
Logging of RADIUS accounting information moves to a ``set log [+-]radius''
level, along with the RADIUS alive info, and the version number is bumped
to 3.2 to reflect this.
Mostly submitted by: alx@sm.ukrtel.net (back in January)
MFC after: 3 weeks
|
|
|
|
|
|
| |
back into epoch time. Everytime I'm asked to do this by someone I
have to spend about ten minutes recreating the same command line.
So record it under examples.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
because some notebooks (apparently Compaq, Toshiba and Acer ones)
erroneously return 2 or 3 there.
PR: kern/61482, kern/54188
Submitted by: Ulf Lilleengen <lulf@kerneled.org>,
Victor Balada Diaz <victor@alf.dyndns.ws>
MFC after: 3 days
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
since they are only accessed by curthread and thus do not need any
locking.
- Move pr_addr and pr_ticks out of struct uprof (which is per-process)
and directly into struct thread as td_profil_addr and td_profil_ticks
as these variables are really per-thread. (They are used to defer an
addupc_intr() that was too "hard" until ast()).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that did:
if (foo)
return
else
blah
to just do the simpler
if (!foo)
blah
instead.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The attached patch fixes a number of problems present in rpc.lockd.
1)
Nfslocklist_head.lf_first is overwritten because of an off-by-one-bug
that happens when clnt_cache_next_to_use is incorrectly incremented.
2)
'struct sockaddr *addr' inside 'struct file_lock' is set to point to
the result from svc_getrpccaller(). This value is malloc:ed inside the
rpc libraries and is free:ed when clnt_destroy() is called. Fix,
maintain a copy of the result.
3)
The loop inside retry_blockingfilelocklist() that uses 3 pointers ifl,
nfl, and pfl thrashes the list pointed to by
blockedlocklist_head.lf_first. Fix, use a simpler loop. The new loop
does not preserve list order but the order is immaterial anyways. See
also revison 1.6-1.7 and kern/61122.
4)
struct file_lock
char client_name[SM_MAXSTRLEN];
and
struct host
char name[SM_MAXSTRLEN];
Be careful to not create open (non 0 terminated) C strings and later
passing them to e.g syslog. Fix, make sure that the strings are always
terminated with 0. When at it, move the strings to the end of the
structs and make them variable length. This saves about 1000 bytes for
every malloc:ed struct.
5)
The newfl = malloc(sizeof(struct file_lock)) memory was never properly
bzero:ed.
Minor changes:
A)
Nlmtonlm4(0) made assumptions about struct layouts.
B)
Don't close stdout and stderr when debugging (-d option).
C)
Remove unused pid_t locker and int fd in struct file_lock.
D)
s/printf/debuglog/
E)
Remove redundant sleep(1) and call to debuglog().
Cheers,
Björn
|
| |
|
|
|
|
|
| |
i386 and amd64. The only other ACPI machine (ia64) doesn't support
floppy drives. Tested by: make MACHINE={pc98,i386,amd64,alpha,sparc64}
|
|
|
|
|
|
|
|
| |
outgoing tcp connections.
Reported by: Orla McGann <orly@cnri.dit.ie>
Reviewed by: Orla McGann <orly@cnri.dit.ie>
Obtained from: KAME
|
|
|
|
|
|
|
|
| |
define NULL. This means we cannot use NULL in the definition of CMSG_NXTHDR.
So replace NULL with 0.
PR: kern/60309
Submitted by: Jeff King <peff-freebsd@peff.net>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
left around after the PCI probe, acpi_video stopped attaching because while
it was an acpi child device, it really is a PCI device. Fix this by making
it a PCI child.
* Remove non-handle ivars accesses since child busses only implement
acpi_get_handle().
* Access the acpi softc directly through the devclass instead of through
the implied parent.
* Clean up a potential panic on unload by freeing the sysctl context before
storing NULL in the OID.
Found by: marks
|
|
|
|
|
|
|
| |
check if the *real* user is the superuser (vs. the normal behaviour, which
checks the effective user).
Reviewed by: rwatson
|
|
|
|
|
|
|
|
| |
apply the patch of bin/61718 (which should include/elimatate kern/61122 also).
It seems to fix a few annoying bugs.
PR: bin/61718, kern/61122
Submitted by: bg@sics.se ohartman@mail.physik.uni-mainz.de
|
|
|
|
|
|
| |
Sort includes.
This is now WARNS=2 clean, bump WARNS to keep it clean.
|
|
|
|
|
|
|
|
| |
has been merged into the former.
PR: docs/69087
Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu>
MFC after: 3 days
|
|
|
|
| |
Pointed out by: Christoph Mallon <christoph.mallon@gmx.de>
|
| |
|
|
|
|
| |
64-bit portability fix.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Unlike the builtin relational operators, builtin floating-point
constants were not available until gcc 3.3, so account for this.[1]
- Apparently some versions of the Intel C Compiler fallaciously define
__GNUC__ without actually being compatible with the claimed gcc
version. Account for this, too.[2]
[1] Noticed by: Christian Hiris <4711@chello.at>
[2] Submitted by: Alexander Leidinger <Alexander@Leidinger.net>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
of fgetln.c (non-static).
|
|
|
|
| |
signed chars.
|
| |
|
|
|
|
|
|
| |
that have been added to <sys/procfs.h>. This change has no effect
because the source file that would be affected is not compiled on
FreeBSD. Hence, this is for completeness only.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- `sound'
The generic sound driver, always required.
- `snd_*'
Device-dependent drivers, named after the sound module names.
Configure accordingly to your hardware.
In addition, rename the `snd_pcm' module to `sound' in order to sync
with the driver names.
Suggested by: cg
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
trying to upgrade their system with make world instead of following
the preferred and suggested sequence of commands. The fact remains
that make world does not upgrade the kernel.
Allow make world when DESTDIR has been specified, including when
DESTDIR specifies the root file system. Otherwise, print a useful
warning and fail.
Reviewed, tested and scrutinized by: gad@
|
|
|
|
| |
the 'single' label element to 'effective.
|
|
|
|
|
|
|
|
|
| |
accurately represents the intention of the 'single' label element in
Biba and MLS labels. It also approximates the use of 'effective' in
traditional UNIX credentials, and avoids confusion with 'singlelabel'
in the context of file systems.
Inspired by: trhodes
|
|
|
|
|
|
|
|
|
| |
The getfsstat(2) function expects a buffer and a count, and returns a count.
The confusing part is that the count it takes is a byte count, while the
return value is a count of the number of structures it has filled out.
Spell this out.
|
| |
|
|
|
|
|
|
|
| |
This helps us to remove a global variable and a mutex protecting it.
Reviewed by: rwatson
Approved by: julian (mentor)
|
|
|
|
|
| |
Reviewed by: phk
Approved by: julian (mentor)
|
|
|
|
|
| |
Noticed by: tedu
Approved by: alfred
|