| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
I've noticed various terminal emulators that need to obtain a sane
default termios structure use very complex `hacks'. Even though POSIX
doesn't provide any functionality for this, extend our termios API with
cfmakesane(3), which is similar to the commonly supported cfmakeraw(3),
except that it fills the termios structure with sane defaults.
Change all code in our base system to use this function, instead of
depending on <sys/ttydefaults.h> to provide TTYDEF_*.
|
| |
|
| |
|
|
|
|
|
| |
libraries subdirectories since there's nothing to do there. This saves
us quite a few seconds off installworld, esp. if the disk I/O is slow.
|
| |
|
|
|
|
| |
Submitted by: dim
|
| |
|
|
|
|
|
|
|
|
|
| |
flag. [1]
- Note that also fchflags(2) will return EPERM for attempts to set or
unset the SF_SNAPSHOT flag.
Submitted by: Garrett Cooper [1]
MFC after: 1 week
|
|
|
|
|
|
| |
also add sysconf() key _SC_CPUSET_SIZE to get sysctl value.
Submitted by: gcooper
|
|
|
|
| |
Submitted by: avg
|
|
|
|
|
| |
because the variable can be in register, second checking the variable
may still return true, however this is unexpected.
|
|
|
|
|
|
| |
it's absolutely necessary.
MFC after: 1 week
|
|
|
|
| |
size kernel is using.
|
|
|
|
| |
- Use long word to figure out sizeof kernel cpuset, hope it works.
|
|
|
|
|
| |
it can not fix race condition in application code, as a result,
the problem described in PR threads/151767 is avoided.
|
| |
|
|
|
|
| |
MFC after: 7 days
|
|
|
|
| |
Submitted by: Artem Belevich (artemb at gmail dot com)
|
|
|
|
|
|
|
| |
used, to fix warning if WITH_SSL is not set.
Submitted by: Sean Bruno
MFC after: 1 week
|
|
|
|
| |
thought.
|
|
|
|
|
|
|
| |
PR: docs/143330
Submitted by: Efstratios Karatzas (gpf dot kira at gmail dot com)
Discussed with: ru@
MFC after: 7 days
|
|
|
|
|
|
|
|
| |
strtonum does not require limits.h
Obtained from: OpenBSD
Discussed with: ru@
MFC after: 5 days
|
|
|
|
|
|
| |
Instead of only returning NULL when the entry is invalid and can't be
matched against the current database, also return it when it cannot open
the log files properly.
|
|
|
|
|
|
| |
It's a bit more pedantic regarding .Bl list elements. This has an added
benefit of unbreaking the ipfw(8) manpage, where groff was silently
skipping one list element.
|
|
|
|
| |
is now used by both gctl_ro_param() and gctl_rw_param().
|
|
|
|
| |
- Prefer 'unsigned int' over 'u_int' in userland code.
|
|
|
|
|
|
|
| |
a silly rwlock deadlock problem, the deadlock is caused by writer
waiters, if a thread has already locked a reader lock, and wants to
acquire another reader lock, it will be blocked by writer waiters,
but we had already fixed it years ago.
|
|
|
|
| |
is the type we are using.
|
| |
|
|
|
|
| |
pthread_rwlockattr_getkind_np.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
functions set or get pthread_rwlock type, current supported types are:
PTHREAD_RWLOCK_PREFER_READER_NP,
PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,
PTHREAD_RWLOCK_PREFER_WRITER_NP,
default is PTHREAD_RWLOCK_PREFER_WRITER_NONCECURSIVE_NP, this maintains
binary compatible with old code.
|
|
|
|
|
|
| |
- Add missing check for ugd_actlen being too small.
- Add missing inclusion guard to usbvar.h header file.
- This also fixes buildworld breakage since r213852.
|
|
|
|
|
|
| |
This allows it to assemble with newer binutils.
Reviewed by: marcel
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libusb_strerror()
* libusb_get_driver[_np]()
* libusb_detach_kernel_driver[_np]()
- Factor out setting of non-blocking flag inside libusb.
- Add missing NULL check after libusb_get_device() call.
- Correct some wrong error codes due to copy and paste error.
PR: usb/150546
Submitted by: Robert Jenssen, Alexander Leidinger
Approved by: thompsa (mentor)
|
|
|
|
| |
Approved by: thompsa (mentor)
|
|
|
|
| |
Approved by: thompsa (mentor)
|
|
|
|
|
|
|
|
| |
- Add a new API function to check the connected
status of the USB handle in the LibUSB v1.0 and
LibUSB v0.1 interfaces.
Approved by: thompsa (mentor)
|
|
|
|
|
|
|
| |
* When calling syslog(), pass a format string.
* Define YY_NO_INPUT on nslexer.l
Submitted by: Norberto Lopes <nlopes.ml at gmail.com>
|
| |
|
| |
|
|
|
|
|
| |
Approved by: delphij (mentor)
MFC after: 1 month
|
|
|
|
| |
Submitted by: pluknet
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove or re-work support for the several features from the past:
- remove incomplete support for trimming slice/partition names
- remove mapping from old device names "sd" and "st"
- remove whitespace trimming
- remove unconditional skipping of leading 'r' in a device name
- skip leading 'n' or 'e' only if the following device name matches
a list of known devices that support no-rewind and eject-on-close
features; currently this is only sa(4)
- reflect the above changes in comments in code and in cam(3)
- remove a note cautioning against use of cam_get_device and
cam_open_device in cam(3)
Reviewed by: mjacob
|
|
|
|
| |
They have no effect when coming in pairs, or before .Bl/.Bd
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
http://llvm.org/releases/2.8/docs/ReleaseNotes.html
Approved by: rpaulo (mentor)
|