diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 1995-09-21 20:10:52 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 1995-09-21 20:10:52 +0000 |
| commit | 449c6a18c2d12f5357a5cedde654b2c91e97d3a1 (patch) | |
| tree | a2081aefd40608e754507aab26b8b4e19e70bf75 | |
| parent | 25f26ad85a04bd6f42218e38501f9db2c870a6af (diff) | |
Notes
| -rw-r--r-- | usr.bin/file/Magdir/freebsd | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.bin/file/Magdir/freebsd b/usr.bin/file/Magdir/freebsd index 28ad615bf93a..79471d72d5e4 100644 --- a/usr.bin/file/Magdir/freebsd +++ b/usr.bin/file/Magdir/freebsd @@ -14,3 +14,13 @@ 0 lelong 000000407 impure format >16 lelong >0 not stripped +# XXX gross hack to identify core files +# cores start with a struct tss; we take advantage of the following: +# byte 7: highest byte of the kernel stack pointer, always 0xfe +# 8/9: kernel (ring 0) ss value, always 0x0010 +# 10 - 27: ring 1 and 2 ss/esp, unused, thus always 0 +# 28: low order byte of the current PTD entry, always 0 since the +# PTD is page-aligned +# +7 string \357\020\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 i386 a.out core file +>1047 string >\0 from "%s" |
