summaryrefslogtreecommitdiff
path: root/cpusched.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-05-07 08:48:19 +0300
committerTobias Klauser <tklauser@distanz.ch>2015-05-07 12:00:07 +0200
commitf6d211974eff4ba67461262031af54fdb4f54210 (patch)
tree74dbca2eedda4ac963c3ee5b312654aca9ff7571 /cpusched.c
parent096b043a8581ad43f030323a69b4e6c6e78530fa (diff)
netsniff-ng: Open pcap w/o O_NOATIME on 2nd try
If the file open fails with O_NOATIME option then try to open it w/o this option in case if the user does not have enough prvileges to use O_NOATIME. It fixes the case when user made pcap file in sudo mode but after it should still use sudo to read it because of setting O_NOATIME option requires higher privileges. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'cpusched.c')
0 files changed, 0 insertions, 0 deletions
dling of ACPI DSM error status results. The DSM mechanism allows communication with platform and memory device firmware. We correctly parse known errors, but were silently ignoring others. Fix it to consistently fail any command with a non-zero status return that we otherwise do not interpret / handle. * 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm: libnvdimm, region: fix flush hint table thinko nfit: fail DSMs that return non-zero status by default libnvdimm: fix devm_nvdimm_memremap() error path tools/testing/nvdimm: fix allocation range for mock flush hint tables nvdimm: fix PHYS_PFN/PFN_PHYS mixup
Diffstat