Skip to content

Instantly share code, notes, and snippets.

View postwait's full-sized avatar

Theo Schlossnagle postwait

View GitHub Profile
< Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in Privilege.xs, line 130
< Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in Privilege.xs, line 146
< Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in Privilege.xs, line 156
< Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in Privilege.xs, line 195
< Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in Privilege.xs, line 207
< Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in Privilege.xs, line 218
< Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in Privilege.xs, line 234
< Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in Privilege.xs, line 267
196,197d187
< Warning: Found a 'CODE' section which seems to be using 'RETVAL' b
diff --git a/usr/src/pkg/manifests/system-library.mf b/usr/src/pkg/manifests/sys
index c6024f0..26e1761 100644
--- a/usr/src/pkg/manifests/system-library.mf
+++ b/usr/src/pkg/manifests/system-library.mf
@@ -202,6 +202,7 @@ file path=lib/$(ARCH64)/libmp.so.2
file path=lib/$(ARCH64)/libnsl.so.1
file path=lib/$(ARCH64)/libnvpair.so.1
file path=lib/$(ARCH64)/libpam.so.1
+file path=lib/$(ARCH64)/libpcidb.so.1
file path=lib/$(ARCH64)/libproc.so.1
diff --git a/usr/src/cmd/perl/contrib/Sun/Solaris/Privilege/Privilege.xs b/usr/src/cmd/perl/contrib/Sun/Solaris/Privilege/Privilege.xs
index 3024757..212945d 100644
--- a/usr/src/cmd/perl/contrib/Sun/Solaris/Privilege/Privilege.xs
+++ b/usr/src/cmd/perl/contrib/Sun/Solaris/Privilege/Privilege.xs
@@ -14,12 +14,6 @@
#define IVCONST(s, c) newCONSTSUB(s, #c, newSViv((int)(intptr_t)c));
#define POFF (sizeof ("PRIV_") - 1)
-#define RETPRIVSET(set) \
- ST(0) = sv_newmortal(); \
diff --git a/usr/src/cmd/perl/contrib/Sun/Solaris/Privilege/Privilege.xs b/usr/src/cmd/perl/contrib/Sun/Solaris/Privilege/Privilege.xs
index 3024757..212945d 100644
--- a/usr/src/cmd/perl/contrib/Sun/Solaris/Privilege/Privilege.xs
+++ b/usr/src/cmd/perl/contrib/Sun/Solaris/Privilege/Privilege.xs
@@ -14,12 +14,6 @@
#define IVCONST(s, c) newCONSTSUB(s, #c, newSViv((int)(intptr_t)c));
#define POFF (sizeof ("PRIV_") - 1)
-#define RETPRIVSET(set) \
- ST(0) = sv_newmortal(); \
panic[cpu2]/thread=ffffff0d55b397c0:
BAD TRAP: type=e (#pf Page fault) rp=ffffff005c8d16a0 addr=a0 occurred in module
"neti" due to a NULL pointer dereference
tcpdump:
#pf Page fault
Bad kernel fault at addr=0xa0
pid=4085, pc=0xfffffffff7c6d534, sp=0xffffff005c8d1790, eflags=0x10286
cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6f8<xmme,fxsr,pge,mce,pae,pse,de>
diff --git a/src/noit_rest.c b/src/noit_rest.c
index d10bbac..9e1b6f8 100644
--- a/src/noit_rest.c
+++ b/src/noit_rest.c
@@ -106,9 +106,7 @@ noit_http_get_handler(noit_http_rest_closure_t *restc) {
const char *uri_str;
const char *eoq, *eob;
uri_str = noit_http_request_uri_str(req);
- eoq = strchr(uri_str, '?');
- if(!eoq)
; hostname
db1
; pwd
/fontdeck/fontserver/etc/tsetc
; cat ssl_multicert.config
dest_ip=* ssl_cert_name=f.fontdeck.com.crt ssl_key_name=f.fontdeck.com.key
Lagavulin 16
Oban 14
High West Silver
Balvenie 14 (Caribbean Cask)
Bunnahabhain Cruach-Mhona
Colonel E.H. Taylor Single Barrel
Grangestone 18
Macallan 12
Wasmund's Copper Fox
Town Branch Bourbon
; hostname
ernie2
; ps -ef | grep 'Mar 07'
root 95534 95533 0 Mar 07 ? 12:14 git-remote-https https://github.com/omniti-labs/resmon.git https://github.co/o
root 80830 80829 0 Mar 07 ? 12:33 git-remote-https https://github.com/omniti-labs/resmon.git https://github.co/o
root 95533 1052 0 Mar 07 ? 0:00 git ls-remote https://github.com/omniti-labs/resmon.git
jesus 26762 26566 0 20:52:58 pts/1 0:00 grep Mar 07
root 80829 1052 0 Mar 07 ? 0:00 git ls-remote https://github.com/omniti-labs/resmon.git
#!/usr/bin/bash
PORT=$1
[[ -z "$PORT" ]] && PORT=80
/opt/omni/sbin/tcpdump -nnn -ttq -s 384 'tcp port '$PORT' and ((((ip[2:2] - ((ip[0]&0xf)*4)) - ((tcp[12]&0xf0)/4)) != 0 and src port '$PORT') or ((tcp[tcpflags] & (tcp-syn|tcp-ack)) == tcp-syn))' | \
PORT=$PORT /usr/bin/gawk '
BEGIN { DPORT=sprintf(".%d", ENVIRON["PORT"]) }
{
gsub(".[0-9]+(: | >)"," & ");