diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-01-19 18:37:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-01-19 18:37:20 +0000 |
commit | 8d8fc1388aaef0fd6c5a0964f6d0cf03611a2ec2 (patch) | |
tree | 5a42695453e6752aecf58ae9488d0f311c95b165 /sys | |
parent | e0d6a9b212e221a5eaf5c1f41a7631ef4c35e569 (diff) |
use SYMLOOP_MAX rather than MAXSYMLINKS
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/systrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/systrace.c b/sys/dev/systrace.c index ade4097bed0..4336292fc7a 100644 --- a/sys/dev/systrace.c +++ b/sys/dev/systrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: systrace.c,v 1.71 2014/07/13 23:10:23 deraadt Exp $ */ +/* $OpenBSD: systrace.c,v 1.72 2015/01/19 18:37:19 deraadt Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -1516,7 +1516,7 @@ systrace_namei(struct nameidata *ndp) if (hamper) { /* ELOOP if namei() tries to readlink */ - ndp->ni_loopcnt = MAXSYMLINKS; + ndp->ni_loopcnt = SYMLOOP_MAX; cnp->cn_flags &= ~FOLLOW; cnp->cn_flags |= NOFOLLOW; } |