| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
sessions to be pinned to cpus by login class.
|
|
|
|
|
| |
Submitted by: Jilles Tjoelker <jilles stack nl>
MFC after: 3 days
|
|
|
|
|
|
| |
this by hand in userland utilities.
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
after similar calls related to struct pwd in libutil/pw_util.c:
- gr_equal()
Perform a deep comparison of two struct grp's. It does a thorough, yet
unoptimized comparison of all the members regardless of order.
- gr_make()
Create a string (see group(5)) from a struct grp.
- gr_dup()
Duplicate a struct grp. Returns a value that is a single contiguous
block of memory.
- gr_scan()
Create a struct grp from a string (as produced by gr_make()).
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Significant changes:
- rev. 1.11: Use PRId64 instead of a cast to long long and %lld to print
an int64_t.
- rev. 1.12: Fix a bug that humanize_number() produces "1000" where it
should be "1.0G" or "1.0M". The bug reported by Greg Troxel.
PR: 118461
PR: 102694
Approved by: rwatson (mentor)
Obtained from: NetBSD
MFC after: 1 month
|
|
|
|
|
| |
on pts(4) devices this time. This fixes the issues while leaving pts(4)
enabled on HEAD.
|
|
|
|
|
| |
The security fix will be re-committed soon, hopefully without breaking
anything.
|
|
|
|
|
|
|
|
|
|
| |
Specifically, remove the BUGS section and note that openpty(3) now always
does the various security-related steps. Also, update the error return
value section. The PR below is for the original bug rather than the doc
updates.
MFC after: 1 week
PR: bin/9770
|
|
|
|
|
|
|
| |
Fix an off-by-one error in inet_network(3). [08:02]
Security: FreeBSD-SA-08:01.pty
Security: FreeBSD-SA-08:02.libc
|
|
|
|
|
|
|
|
| |
kick off any other users on the device line before using it since
openpty(3) is documented to do this. Note that grantpt(3) does not
call revoke(2), it only adjusts permissions and ownership.
MFC after: 3 days
|
|
|
|
|
|
|
| |
[pt]ty[lmnoLMNO][0-9a-v].
MFC after: 3 days
Reviewed by: rwatson
|
|
|
|
| |
be called with a const without the compiler grisling.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
success and zero pid from pidfile_read(). Return EAGAIN instead. Sleep
up to three times for 5 ms while waiting for pidfile to be written.
mount(8) does the kill(mountpid, SIGHUP). If mountd pidfile is truncated,
that would result in the SIGHUP delivered to the mount' process group
instead of the mountd.
Found and analyzed by: Peter Holm
Tested by: Peter Holm, kris
Reviewed by: pjd
MFC after: 1 week
|
|
|
|
| |
Approved by: re(ken)
|
|
|
|
|
|
|
|
|
| |
Reported by: phk
- While here, check the unit before calculating the actually number.
This way we can return EINVAL for invalid unit instead of ERANGE.
Approved by: re (kensmith)
|
|
|
|
|
| |
Suggested by: trhodes
Approved by: re (kensmith)
|
|
|
|
|
|
|
|
|
|
| |
a number in human-readable form is converted to int64_t, for example:
123b -> 123
10k -> 10240
16G -> 17179869184
First version submitted by: Eric Anderson <anderson@freebsd.org>
Approved by: re (bmah)
|
|
|
|
| |
Approved by: re (kensmith)
|
|
|
|
| |
Approved by: re (kensmith)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
locked it.
MFC after: 3 weeks
|
|
|
|
| |
Ok'd by: kan
|
|
|
|
|
|
|
| |
is not performance critical code anyway. Also, avoid using strlen() to
obtain information which we already have.
MFC after: 3 weeks
|
|
|
|
| |
Submitted by: Bård Skaflestad <bardsk@math.ntnu.no>
|
|
|
|
| |
that I make stupid fundamental mistakes like this when I don't.
|
| |
|
|
|
|
| |
MFC after: 3 weeks
|
|
|
|
| |
MFC after: 3 weeks
|
|
|
|
|
|
| |
flopen(3) function which reliably opens and locks a file.
MFC after: 3 weeks
|
|
|
|
| |
Tested with: md5(1)
|
| |
|
|
|
|
|
| |
PR: 75577
Submitted by: Nobuyuki Koganemaru
|
| |
|
|
|
|
| |
PR: 101262
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(copy it silently, do not dereference NULL pointer).
PR: bin/102848
Reviewed by: security-officer (cperciva)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
capabilities but tell they do nothing in the base system.
This is a late responce to
http://docs.freebsd.org/cgi/mid.cgi?ED759F1DC5ADD74592DD063B1EDEDAF803ACD2B5
.
Obtained from: OpenBSD (wording; with minor corrections)
|
| |
|
|
|
|
| |
Add 'engineering' numbers to table.
|
| |
|
| |
|
|
|
|
| |
Obtained from: DragonFlyBSD
|
|
|
|
| |
This fix shared library installed correct place.
|