| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
actually exist.
PR: docs/163043
Submitted by: olgeni
Approved by: brd
MFC after: 3 days
|
|
|
|
|
| |
PR: kern/165373
MFC after: 3 days
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
UMTX_OP_WAIT. Upper 16bits is enough to hold a clock id, and lower
16bits is used to pass flags. The change saves a clock_gettime() syscall
from libthr.
|
| |
| |
| |
| |
| |
| |
| |
| | |
- Centralize address assignment
- Make sure managment ports get first MAC address in pool
- Properly propagate fail if address allocation failed
Submitted by: Andrew Duane <aduane@juniper.net>
|
| |
| |
| |
| | |
Discussed in: http://www.openwall.com/lists/oss-security/2011/11/15/3
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
sys/dev/hpt27xx/osm_bsd.c, since it gets the following warnings:
sys/dev/hpt27xx/osm_bsd.c:1180:25: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
S_IRUSR | S_IWUSR, driver_name);
^~~~~~~~~~~
@/dev/hpt27xx/hpt27xx_config.h:46:21: note: expanded from:
#define driver_name hpt27xx_driver_name
^~~~~~~~~~~~~~~~~~~
Since 'hpt27xx_driver_name' is a constant string symbol (coming from the
proprietary hpt27xx_lib.o file), there is no security problem.
Because this driver is provided by the vendor, and applying changes
requires re-certification and other bureaucratic exercises, just disable
the warning for now.
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
several sys/cam/ctl files, since these get the following warnings:
In file included from sys/cam/ctl/ctl_backend.c:60:
sys/cam/ctl/ctl_private.h:300:30: error: variable 'page_index_template' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
static struct ctl_page_index page_index_template[] = {
^
These warnings are tricky to fix without a lot of overhaul, and they are
harmless, so disable them for now.
MFC after: 1 week
|
| |
| |
| |
| |
| |
| | |
Suggested by: jhb
Reviewed by: jhb, kib, rwatson
MFC after: 2 weeks
|
| |
| |
| |
| |
| | |
Reviewed by: kib
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A number of tftp clients, including the one in Intel's pxe boot loader,
may intentionally stop a transfer using error code 0 (i.e., EUNDEF).
These are not real errors. Avoid spamming log files with these by
logging them at level LOG_DEBUG instead.
Discussed on -hackers with an initial patch proposal; this change is an
improved approach suggested by kan@.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add the sysctl debug.iosize_max_clamp, enabled by default. Setting the
sysctl to zero allows to perform the SSIZE_MAX-sized i/o requests from
the usermode.
Discussed with: bde, das (previous versions)
MFC after: 1 month
|
| |
| |
| |
| | |
MFC after: 3 days
|
| |
| |
| |
| | |
MFC after: 3 days
|
| |
| |
| |
| | |
Approved by: bschmidt
|
| |
| |
| |
| |
| |
| |
| | |
file descriptor via exec(3).
Now that daemon(8) has been fixed to resolve the issue noted by trociny,
the consensus is that this change should be OK.
|
| | |
|
| | |
|
| |
| |
| |
| | |
behavior is consistent.
|
| |
| |
| |
| |
| |
| | |
dump for the parent partition too.
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| |
| | |
types 0x05 and 0x0f, but 0x05 is preferred and used when partition is
created with "gpart add -t ebr ...".
This should keep EBR partitions accessible after r231754 for those,
who have EBR on the partition with type 0x0f.
|
| |
| |
| |
| |
| |
| |
| | |
This mirrors the internal HAL organisation and reduces the differences
between the HAL codebases slightly.
Obtained from: Atheros
|
| |
| |
| |
| | |
MFC after: 1 month
|
| |
| |
| |
| |
| |
| |
| | |
be loaded. This way, the administrator can get response immediately from
the shell session rather than relying on dmesg.
MFC after: 1 month
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Convert to our standard SYNOPSIS language
- Consistently use "The .Nm driver"
- Rewrite .nf .fi block with mdoc
- Add pci dependency to SYNOPSIS
- Start .Bl list with new paragraph
Approved by: luigi
|
| |
| |
| |
| | |
Obtained from: NetBSD
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- In case the parent is bge(4), don't set the Jumbo frame settings unless
the MAC actually is Jumbo capable as otherwise the PHY might not have the
corresponding registers implemented. This is also in line with what the
Linux tg3 driver does.
PR: 165032
Submitted by: Alexander Milanov
Obtained from: OpenBSD
MFC after: 3 days
|
| |
| |
| |
| |
| | |
Suggested by: Andrey Zonov <andrey zonov org>
MFC after: 2 weeks
|
| |
| |
| |
| |
| | |
Suggested by: Andrey Zonov <andrey zonov org>
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
process. Normally it will cause the child to exit followed by the
termination of the supervisor after removing the pidfile.
This looks like desirable behavior, because termination of a
supervisor usually supposes termination of its charge. Also it will
fix the issue with stale pid files after reboot due to init kills a
supervisor before its child exits.
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
not to leak the descriptor after exec(3). This raises the issue for
daemon(3) of the pidfile lock to be lost when the child process
executes.
To solve this and also to have the pidfile cleaned up when the program
exits, if a pidfile is specified, spawn a child to exec the command
and wait in the parent keeping the pidfile locked until the child
process exits and remove the file.
Reported by: Andrey Zonov <andrey zonov org>
Suggested by: pjd
Reviewed by: pjd
MFC after: 2 weeks
|
| |
| |
| |
| | |
Tested on 32- and 64-bit PowerMac.
|
| |
| |
| |
| | |
is zero may trigger timeout too early. It seems a copy&paste bug.
|
| |
| |
| |
| |
| |
| |
| | |
for a shared mapping and marking the entry for inheritance.
Reviewed by: kib
X-MFC after: r231526
|
| |
| |
| |
| | |
MFC after: 3 days
|
| |
| |
| |
| | |
MFC after: 1 month.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
hold the lock.
This is part of my series of work to try and capture when net80211
locking isn't.
ObNote: it'd be nice to be able to mark a lock as "assert if the lock
is dropped", so I could capture functions which decide that dropping
and reacquiring the lock is a good idea (without re-checking the
sanity of the state protected by the lock.)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Without this change, pressing ^T could result in rc.d script putting
junk strings like:
Script <filename> running
in configuration files when redirecting standard output to these files.
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Vnode-backed mappings cannot be put into the kernel map, since it is a
system map.
Use exec_map for transient mappings, and remove the mappings with
kmem_free_wakeup() to notify the waiters on available map space.
Do not map the whole executable into KVA at all to copy it out into
usermode. Directly use vn_rdwr() for the case of not page aligned
binary.
There is one place left where the potentially unbounded amount of data
is mapped into exec_map, namely, in the COFF image activator
enumeration of the needed shared libraries.
Reviewed by: alc
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
devices that are unplugged via QEMU.
sys/dev/xen/blkback/blkback.c:
Toolstack initiated closures change the frontend's state
to Closing. The backend must change to Closing as well,
even if we can't actually close yet, in order for the
frontend to notice and start the closing process.
MFC after: 3 days
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- remove the KEVENT code, which was incomplete and not compiled anyways;
- change some while() loops into for()
- adjust indentation
- remove extra whitespace
MFC after: 1 week
|
| |
| |
| |
| |
| | |
Submitted by: Naresh Raju Gottumukkala (Emulex)
MFC after: 3 days
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Feature: UMC - Universal Multi Channel support
- Bugfix: BE3 Firmware Flashing bug.
- Code improvements:
- Removed duplicate switch cases in the oce_ioctl routine.
- Made changes to mcc_async notifications routine(oce_mq_handler)
MFC after: 1 week
|
| |
| |
| |
| |
| | |
Submitted by: pluknet
MFC after: 2 weeks
|