PERFORCE change 173948 for review
Robert Watson
rwatson at FreeBSD.org
Sat Jan 30 12:58:59 UTC 2010
http://p4web.freebsd.org/chv.cgi?CH=173948
Change 173948 by rwatson at rwatson_vimage_client on 2010/01/30 12:58:42
Trim excess vertical whitespace.
Affected files ...
.. //depot/projects/trustedbsd/capabilities/src/lib/csu/amd64/crt1.c#6 edit
.. //depot/projects/trustedbsd/capabilities/src/lib/csu/common/crtbrand.c#8 edit
Differences ...
==== //depot/projects/trustedbsd/capabilities/src/lib/csu/amd64/crt1.c#6 (text+ko) ====
@@ -94,8 +94,6 @@
exit( main(argc, argv, env) );
}
-
-
/* The Capsicum entry function. */
void
_capstart(char **ap, void (*cleanup)(void))
==== //depot/projects/trustedbsd/capabilities/src/lib/csu/common/crtbrand.c#8 (text+ko) ====
@@ -52,8 +52,6 @@
__FreeBSD_version
};
-
-
extern int cap_main(int, char **, char **) __attribute__((weak));
int cap_main(__unused int argc, __unused char **argv, __unused char **env)
{
@@ -61,6 +59,5 @@
"ERROR: attempting to run a regular binary in capability mode!\n\nIf you want to run a binary in a sandbox, you must provide a cap_main() function, which takes the same arguments as main().\n";
write(2, warning, sizeof(warning));
-
return (-1);
}
More information about the p4-projects
mailing list