diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-06-03 13:19:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-06-03 13:19:46 +0000 |
commit | 95d00d4b6089595293872471b78b567652a7a69f (patch) | |
tree | cf8e9b6b37919190087e5702f89dada6befe8fce /include | |
parent | 53f257608caea1a9dd97c23f25c93dce9d7d06fc (diff) |
secure_path(3) hasn't been called since we recognized the TOCTOU issues a few
years back, so we can remove it. Since nothing in the ecosystem calls it, I
am not cranking the libc major as required, surely another crank will come
along soon.
noticed by Dante Catalfamo
ok millert
Diffstat (limited to 'include')
-rw-r--r-- | include/login_cap.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/login_cap.h b/include/login_cap.h index 46a8bb6311b..d9a4c2c349c 100644 --- a/include/login_cap.h +++ b/include/login_cap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: login_cap.h,v 1.16 2018/07/29 19:40:41 deraadt Exp $ */ +/* $OpenBSD: login_cap.h,v 1.17 2021/06/03 13:19:45 deraadt Exp $ */ /*- * Copyright (c) 1995,1997 Berkeley Software Design, Inc. All rights reserved. @@ -101,7 +101,6 @@ char *login_getcapstr(login_cap_t *, char *, char *, char *); quad_t login_getcaptime(login_cap_t *, char *, quad_t, quad_t); char *login_getstyle(login_cap_t *, char *, char *); -int secure_path(char *); int setclasscontext(char *, unsigned int); int setusercontext(login_cap_t *, struct passwd *, uid_t, unsigned int); |