]> git.saurik.com Git - apple/system_cmds.git/blobdiff - ktrace.tproj/subr.c
system_cmds-230.tar.gz
[apple/system_cmds.git] / ktrace.tproj / subr.c
index 08be41529b8f9a382225ffc0d4d71f8383d82902..90144d341ae424ccb030e5ef09c997a335083845 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 1999, 2000-2001 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
@@ -23,7 +23,7 @@
  */
 /*-
  * Copyright (c) 1988, 1993
- *      The Regents of the University of California.  All rights reserved.
+ *     The Regents of the University of California.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -35,8 +35,8 @@
  *    documentation and/or other materials provided with the distribution.
  * 3. All advertising materials mentioning features or use of this software
  *    must display the following acknowledgement:
- *      This product includes software developed by the University of
- *      California, Berkeley and its contributors.
+ *     This product includes software developed by the University of
+ *     California, Berkeley and its contributors.
  * 4. Neither the name of the University nor the names of its contributors
  *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.
  * SUCH DAMAGE.
  */
 
+#ifndef lint
+#if 0
+static char sccsid[] = "@(#)subr.c     8.1 (Berkeley) 6/6/93";
+#endif
+static const char rcsid[] =
+  "$FreeBSD: src/usr.bin/ktrace/subr.c,v 1.6 1999/08/28 01:02:34 peter Exp $";
+#endif /* not lint */
+
 #include <sys/param.h>
 #include <sys/file.h>
 #include <sys/user.h>
@@ -84,6 +92,9 @@ getpoints(s)
                case 's':
                        facs |= KTRFAC_PSIG;
                        break;
+               case 'u':
+                       facs |= KTRFAC_USER;
+                       break;
                case 'w':
                        facs |= KTRFAC_CSW;
                        break;