]> granicus.if.org Git - file/commitdiff
add ktrace
authorChristos Zoulas <christos@zoulas.com>
Sun, 29 Nov 2015 01:55:14 +0000 (01:55 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 29 Nov 2015 01:55:14 +0000 (01:55 +0000)
magic/Magdir/netbsd

index 0ad54d5b03cfbb9df062aad6457984cad45876f3..31abfbdad610a1e67360d8dd980e18641f181e77 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: netbsd,v 1.21 2014/03/29 15:40:34 christos Exp $
+# $File: netbsd,v 1.22 2014/12/08 20:53:52 christos Exp $
 # netbsd:  file(1) magic for NetBSD objects
 #
 # All new-style magic numbers are in network byte order.
 >4     leshort x                       \b, (headersize = %d
 >6     leshort x                       \b, segmentsize = %d
 >6     lelong  x                       \b, segments = %d)
+
+# little endian only for now.
+0      name            ktrace
+>4     leshort         7
+>>6    leshort         <3              NetBSD ktrace file version %d
+>>>12  string          x               from %s
+>>>56  string          x               \b, emulation %s
+>>>8   lelong          <65536          \b, pid=%d
+
+56     string          netbsd
+>0     use             ktrace
+56     string          linux
+>0     use             ktrace
+56     string          sunos
+>0     use             ktrace
+56     string          hpux
+>0     use             ktrace