| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the struct utmp due to concerns about the length of the hostname buffer.
However, this breaks the UseDNS option. There is a simpler and better
solution: initialize utmp_len to the correct value (UT_HOSTSIZE instead of
MAXHOSTNAMELEN) and let get_remote_name_or_ip() worry about the size of the
buffer.
PR: bin/97499
Submitted by: Bruce Cran <bruce@cran.org.uk>
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
is supplied, since vm_pageout_scan() expects it to be cleared on error.
Submitted by: tegge
PR: 123768
MFC after: 1 week
|
| |
|
| |
|
| |
|
|
|
|
| |
infrastructure
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
If it's not a regular file, don't return any data, even if the size is unknown.
Update the Zip test with a hand-tweaked Zip archive that has a
directory (with length-at-end set), a regular file without
length-at-end set, and a regular file with length-at-end set and a bad
CRC. Update the test code to verify that the file size is unset
for the regular file with length-at-end.
MFC after: 7 days
|
|
|
|
| |
Somehow incomplete version was committed. :-(
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
or it is forced by setting 'kern.timecounter.invariant_tsc' tunable
to non-zero.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
following functions:
- bufobj_invalbuf()
- bufsync()
- vinvalbuf()
- g_vfs_close
and virtual function BO_SYNC().
|
|
|
|
|
|
|
|
|
|
| |
- If there aren't spinlocks held, but there are problems with old
sleeplocks, they are not reported.
- If the spinlock found is not the only one, problems are not reported.
Fix these 2 problems.
Reported by: tegge
|
|
|
|
|
|
|
|
|
| |
already (but probably had been way above as the code was there twice)
and describe what was last changed in rev. 1.199 there (which now is
in sync with in6_src.c r184096).
Pointed at by: mlaier
MFC after: 2 mmonths
|
|
|
|
|
|
|
|
|
|
|
| |
ephemeral port allocation as implemented in netinet/in_pcb.c rev. 1.143
(initially from OpenBSD) and follow-up commits during the last four and
a half years including rev. 1.157, 1.162 and 1.199.
This now is relying on the same infrastructure as has been implemented
in in_pcb.c since rev. 1.199.
Reviewed by: silby, rpaulo, mlaier
MFC after: 2 months
|
|
|
|
|
| |
Move codec # out of the device name as it is a device address and not part of
device type name.
|
|
|
|
| |
lock if the file is opened with O_RDONLY.
|
| |
|
|
|
|
| |
latter is implemented.
|
|
|
|
|
| |
are about to close, so don't. As a bonus, pidfile_remove(3) will now
work with an fcntl(2)-based flopen(3).
|
|
|
|
|
|
| |
it relies on non-portable flock(2) semantics. Not only is flock(2) not
portable, but on some OSes that do have it, it is implemented in terms
of fcntl(2) locks, which are per-process rather than per-descriptor.
|
|
|
|
| |
Use <> brackets only at device name line.
|
|
|
|
| |
be part of the public API. Accordingly, add prototypes and document them.
|
| |
|
| |
|
| |
|
|
|
|
| |
part of the public API. Accordingly, add a prototype and document it.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
and ffs_lock. This cannot catch situations where holdcnt is incremented
not by curthread, but I think it is useful.
Reviewed by: tegge, attilio
Tested by: pho
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
| |
MNTK_UNMOUNT before, and mnt_mtx is used as interlock. vfs_busy() always
tries to obtain a shared lock on mnt_lock, the other user is unmount who
tries to drain it, setting MNTK_UNMOUNT before.
Reviewed by: tegge, attilio
Tested by: pho
MFC after: 2 weeks
|
|
|
|
| |
(The fix has been submitted upstream.)
|
| |
|
|
|
|
| |
PC98 scheme.
|
|
|
|
|
|
|
|
|
|
| |
Export the active and bootable flags as attributes in
the configuration XML and allow them to be manipulated
with the set/unset commands.
Since libdisk treats the flags as part of the partition
type, preserve behavior by keeping them included in the
configuration text.
|
|
|
|
|
|
|
| |
realtimer_expire() to not rearm the timer, otherwise there is a chance
that a callout will be left there and be tiggered in future unexpectly.
Bug reported by: tegge@
|
|
|
|
|
| |
assigned to slots in the global key table but ath_key_alloc was not
updated to handle that
|
|
|
|
|
|
| |
be unleashed here.
Pointed out by: christian.kandeler@hob.de
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
not the string formatted at the time of CTRX() call. Stack_ktr(9) uses
an on-stack buffer for the symbol name, that is supplied as an argument
to ktr. As result, stack_ktr() traces show garbage or cause page faults.
Fix stack_ktr() by using pointer to module symbol table that is supposed
to have a longer lifetime.
Tested by: pho
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
- ANSIfy;
- Convert do {} while loop -> while {} for clarity;
- Sync RCS ID with OpenBSD;
Obtained from: OpenBSD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is required for async cancellation to work.
Fix PROC_LOCK leak in linux_tgkill when signal delivery attempt is made
to not linux process.
Do not call em_find(p, ...) with p unlocked.
Move common code for linux_tkill() and linux_tgkill() into
linux_do_tkill().
Change linux siginfo_t definition to match actual linux one. Extend
uid fields to 4 bytes from 2. The extension does not change structure
layout and is binary compatible with previous definition, because i386
is little endian, and each uid field has 2 byte padding after it.
Reported by: Nicolas Joly <njoly pasteur fr>
Submitted by: dchangin
MFC after: 1 month
|