Skip to content

Instantly share code, notes, and snippets.

View postwait's full-sized avatar

Theo Schlossnagle postwait

View GitHub Profile
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#include <netinet/in.h>
int main() {
char cmd[128];
int fd1,fd2,fd3,fd4,svs[2];
diff --git a/usr/src/man/man3socket/socket.3socket b/usr/src/man/man3socket/socket.3socket
index be280b0..9fe144b 100644
--- a/usr/src/man/man3socket/socket.3socket
+++ b/usr/src/man/man3socket/socket.3socket
@@ -100,6 +100,26 @@ is similar in purpose to the \fBO_CLOEXEC\fR flag to \fBopen\fR(2).
.RE
.sp
+.ne 2
+.na
diff --git a/usr/src/man/man3socket/socket.3socket b/usr/src/man/man3socket/socket.3socket
index be280b0..9fe144b 100644
--- a/usr/src/man/man3socket/socket.3socket
+++ b/usr/src/man/man3socket/socket.3socket
@@ -100,6 +100,26 @@ is similar in purpose to the \fBO_CLOEXEC\fR flag to \fBopen\fR(2).
.RE
.sp
+.ne 2
+.na
diff --git a/usr/src/man/man3socket/socket.3socket b/usr/src/man/man3socket/socket.3socket
index be280b0..9fe144b 100644
--- a/usr/src/man/man3socket/socket.3socket
+++ b/usr/src/man/man3socket/socket.3socket
@@ -100,6 +100,26 @@ is similar in purpose to the \fBO_CLOEXEC\fR flag to \fBopen\fR(2).
.RE
.sp
+.ne 2
+.na
==== Nightly distributed build started: Tue May 14 01:30:31 UTC 2013 ====
==== Nightly distributed build completed: Tue May 14 01:57:54 UTC 2013 ====
==== Total build time ====
real 0:27:22
==== Build environment ====
ssh-dss AAAAB3NzaC1kc3MAAACBAMsLvKfbb8pewc6p3eFWOt+ZU+czNNeZKg4mdmGhPwN/rX6IlGi3be3X3fdUNXNiyAr6l05jomJCEhN/GOHxXOTkSr/SPFLiX/HCbVEjUHSEM6Vkdt1x6faqADYi0fUfajT3X7D98HdPzJjEH8Ib+059gbjF9Mg3bjJz9irZeJcrAAAAFQDWEeILWKD4OqKxpCYAQrN7FmdZrQAAAIA0GfmDXGE9ghzLwMZRBZuyN1rdb9Jqka7NrbbmWWJNQNclHXOm9Cd7cfphVdGJdDL1mwbqCj2h9RhPPoICOSTZGFMvuuo+fgHkXD/GAsTmr7zUZfqEIpneKgVXG8ySv4vgjbdkhIrrr0vX1AZnS0wsWCsYH30Ks5RqOjv9GD62AAAAAIEAxHbqvKKnNqLVE8Qiwbhh7BNHQ3z94AnX8560DoYFymqqPaNqGEQZRqkvjufCJp3Uwjn0zhGn+fDOTbmPq8/bsu4ZeSvC37A2ksnNdCLRZpMAfZ0IIRCeAsWAzP5g9yDf0gNz1CJke78+9scQ9mbXtFcVCvtZ/e8nXRx7h6O02Uk= jesus@warhammer.omniti.com
#!/bin/bash
#
# Install a full Opscode Client
#
PROGNAME=`basename $0`
INSTALLER_DIR=/opt/chef
CONFIG_DIR=/etc/chef
USAGE="usage: $0 [-v validation_key] ([-o organization] || [-u url])"
diff --git a/usr/src/lib/brand/solaris10/s10_brand/common/s10_brand.c b/usr/src/
lib/brand/solaris10/s10_brand/common/s10_brand.c
index f179a3d..4525d0a 100644
--- a/usr/src/lib/brand/solaris10/s10_brand/common/s10_brand.c
+++ b/usr/src/lib/brand/solaris10/s10_brand/common/s10_brand.c
@@ -1386,6 +1386,21 @@ s10_issetugid(sysret_t *rval)
0, 0, 0, 0, 0));
}
+/*
commit 3091c448da335caa7f1863c1a84ab250e700badd
Author: Theo Schlossnagle <jesus@omniti.com>
Date: Sun Jun 9 16:07:11 2013 +0000
3809 Recent libc change breaks Solaris 10 Branded Zone Support
diff --git a/usr/src/lib/brand/solaris10/s10_brand/common/s10_brand.c b/usr/src/lib/brand/solaris10/s10_brand/common/s10_brand.c
index f179a3d..94058ff 100644
--- a/usr/src/lib/brand/solaris10/s10_brand/common/s10_brand.c
+++ b/usr/src/lib/brand/solaris10/s10_brand/common/s10_brand.c
+The \fBMAP_32BIT\fR option informs the system that the search space for
+mapping assignment should be limited to the first 32 bits (4 Gbytes) of the
+caller's address space. This flag is accepted in both 32-bit and 64-bit
+process models, but does not alter the mapping strategy when used in a
+32-bit process model.
+.sp