]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Check the executable's header to make sure it is a valid executable.
authorJohn Polstra <jdp@FreeBSD.org>
Wed, 14 Oct 1998 16:16:50 +0000 (16:16 +0000)
committerJohn Polstra <jdp@FreeBSD.org>
Wed, 14 Oct 1998 16:16:50 +0000 (16:16 +0000)
commit1c35b08ea6922db17d2cb7809981aad7e9c3679a
tree0781019ac98258adf6c851e5883b84c81a00ba10
parentf74d75a2b6f3e40edc5199445c7de27839257c01
Check the executable's header to make sure it is a valid executable.
If it is ELF, print a diagnostic saying that it is not supported yet
by this program.  This is a stop-gap anti-bug-report measure because
it looks like there won't be time to implement gcore's ELF support
before 3.0 is released.
usr.bin/gcore/aoutcore.c
usr.bin/gcore/gcore.c