diff options
author | Robert Mustacchi <rm@joyent.com> | 2014-07-30 19:32:50 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2015-02-15 17:26:09 +0000 |
commit | b9050054bed684df58fc1c855197eec06a2036bf (patch) | |
tree | cc8ec42bb149c4c00b068fc8cab890ec5cdfc61a /usr/src/uts/common/ctf/ctf_mod.c | |
parent | f31c6fa33bcc9a608ce6f9ffd671ffc2b65a30ef (diff) | |
download | illumos-joyent-b9050054bed684df58fc1c855197eec06a2036bf.tar.gz |
OS-3851 ctfdump should be written in terms of libctf
OS-3852 ctfdiff could be more useful
OS-3853 ctfmerge and ctfconvert could have an altexec
OS-3854 ctfmerge should be implemented in terms of libctf
Reviewed by: Keith M Wesolowski <wesolows@foobazco.org>
Diffstat (limited to 'usr/src/uts/common/ctf/ctf_mod.c')
-rw-r--r-- | usr/src/uts/common/ctf/ctf_mod.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/usr/src/uts/common/ctf/ctf_mod.c b/usr/src/uts/common/ctf/ctf_mod.c index b34cf400cd..421b922c96 100644 --- a/usr/src/uts/common/ctf/ctf_mod.c +++ b/usr/src/uts/common/ctf/ctf_mod.c @@ -24,8 +24,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/sysmacros.h> #include <sys/modctl.h> #include <sys/debug.h> @@ -117,6 +115,15 @@ ctf_version(int version) /*ARGSUSED*/ ctf_file_t * +ctf_fdcreate_int(int fd, int *errp, ctf_sect_t *ctfp) +{ + if (errp != NULL) + *errp = ENOTSUP; + return (NULL); +} + +/*ARGSUSED*/ +ctf_file_t * ctf_modopen(struct module *mp, int *error) { ctf_sect_t ctfsect, symsect, strsect; |