This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if defined(__COVERITY__) || defined(__LGTM_BOT__) | |
#define __validate_container_of(PTR, TYPE, FIELD) 0 | |
#define __validate_const_container_of(PTR, TYPE, FIELD) 0 | |
#else | |
#define __validate_container_of(PTR, TYPE, FIELD) \ | |
(0 * sizeof(__builtin_choose_expr( \ | |
__builtin_types_compatible_p(typeof(PTR), void *), \ | |
(const char *)(PTR), (PTR)) - \ | |
__builtin_choose_expr(__builtin_types_compatible_p(typeof(PTR), \ | |
void *), (const char *)&(((TYPE *)(((char *)(PTR)) - \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a shell archive. Save it in a file, remove anything before | |
# this line, and then unpack it by entering "sh file". Note, it may | |
# create directories; files and directories will be owned by you and | |
# have default permissions. | |
# | |
# This archive contains: | |
# | |
# textproc/jnv | |
# textproc/jnv/DESCR | |
# textproc/jnv/Makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a shell archive. Save it in a file, remove anything before | |
# this line, and then unpack it by entering "sh file". Note, it may | |
# create directories; files and directories will be owned by you and | |
# have default permissions. | |
# | |
# This archive contains: | |
# | |
# editors/imhex/DESCR | |
# editors/imhex/Makefile | |
# editors/imhex/PLIST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/net/net-snmp/Makefile.common b/net/net-snmp/Makefile.common | |
index ca1a67010ce..13f95142631 100644 | |
--- a/net/net-snmp/Makefile.common | |
+++ b/net/net-snmp/Makefile.common | |
@@ -3,6 +3,7 @@ | |
# used by net/py-netsnmp/Makefile | |
DISTNAME= net-snmp-5.9.3 | |
+PKGREVISION= 1 | |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=net-snmp/} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
host netbsd-x86 { | |
hardware ethernet XX:XX:XX:XX:XX:XX; | |
fixed-address netbsd-x86; | |
option host-name "netbsd-x86"; | |
if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { | |
if option client-arch = 00:06 { | |
filename "bootia32.efi"; | |
} else if option client-arch = 00:07 or option client-arch = 00:09 { | |
filename "bootx64.efi"; | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a shell archive. Save it in a file, remove anything before | |
# this line, and then unpack it by entering "sh file". Note, it may | |
# create directories; files and directories will be owned by you and | |
# have default permissions. | |
# | |
# This archive contains: | |
# | |
# devel/gitui | |
# devel/gitui/DESCR | |
# devel/gitui/Makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ./TEST.sh を実行して最後に"TEST"と表示されればrpathの書き換えに成功しています。 | |
# /tmp/local/bin/fixelf-test: Shared object "libtestso.so.0" not foundの場合はrpathの書き換えが行われていません、多分。件のパッチ(※1)が当たっている場合はこっちになるはずです。 | |
# (※1) 件のパッチ: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/meson/patches/patch-mesonbuild_scripts_depfixer.py?rev=1.3&content-type=text/x-cvsweb-markup&only_with_tag=MAIN | |
# | |
# This is a shell archive. Save it in a file, remove anything before | |
# this line, and then unpack it by entering "sh file". Note, it may | |
# create directories; files and directories will be owned by you and | |
# have default permissions. | |
# | |
# This archive contains: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nonaka@netbsd[~]$ envstat -I | |
Current CritMax WarnMax WarnMin CritMin Unit | |
[acpitz0] | |
temperature: 22.000 127.000 degC | |
[amdzentemp0] | |
cpu0 temperature: 32.500 degC | |
cpu0 ccd0 temperature: 33.250 degC | |
cpu0 ccd1 temperature: 31.500 degC | |
[itesio0] | |
Temp0: 22.000 degC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
itesio0 { | |
sensor0 { description = "ACPI Thermal Zone Temperature"; } | |
sensor1 { description = "CPU Temperature"; } | |
sensor2 { description = "System Temperature"; } | |
sensor3 { description = "CPU Core Voltage"; } | |
sensor4 { description = "DDR Memory Voltage"; } | |
sensor5 { description = "+12V"; rfact = 61500; } | |
sensor6 { description = "+5V"; rfact = 25300; } | |
sensor7 { description = "VDPP Voltage"; } | |
sensor8 { description = "Chipset Voltage"; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c | |
index f371baeb0a0..76445d3fe9e 100644 | |
--- a/sys/dev/ic/nvme.c | |
+++ b/sys/dev/ic/nvme.c | |
@@ -564,10 +564,33 @@ nvme_detach(struct nvme_softc *sc, int flags) | |
return 0; | |
} | |
+bool | |
+nvme_set_shutdown_reason(struct nvme_softc *sc, int how __unused) |
NewerOlder