diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2023-01-07 05:26:41 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2023-01-07 05:26:41 +0000 |
commit | 9232dcce6bb242e47f9429b04e02836e23f9cb03 (patch) | |
tree | 738324f57bfd336db67afd8efb4f7372cf24408e /usr.bin/kdump | |
parent | c99fb4ac2340b074086766acffd3e624f9655ab4 (diff) |
Add argument and return support for {get,set}thrname()
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r-- | usr.bin/kdump/kdump.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index ed9d3449d11..f334d643a78 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kdump.c,v 1.153 2022/12/29 01:36:36 guenther Exp $ */ +/* $OpenBSD: kdump.c,v 1.154 2023/01/07 05:26:40 guenther Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -826,6 +826,8 @@ static const formatter scargs[][8] = { [SYS_rmdir] = { Ppath }, [SYS_adjtime] = { Pptr, Pptr }, [SYS_getlogin_r] = { Pptr, Psize }, + [SYS_getthrname] = { Ppid_t, Pptr, Psize }, + [SYS_setthrname] = { Ppid_t, Pptr }, [SYS_quotactl] = { Ppath, Quotactlname, Uidname, Pptr }, [SYS_ypconnect] = { Socktypename }, [SYS_nfssvc] = { Phexint, Pptr }, @@ -1166,6 +1168,8 @@ doerr: /* syscalls that return errno values */ case SYS_getlogin_r: case SYS___thrsleep: + case SYS_getthrname: + case SYS_setthrname: if ((error = ret) != 0) goto doerr; /* FALLTHROUGH */ |