]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make linux(4) open(2)/openat(2) return ELOOP instead of EMLINK,
authortrasz <trasz@FreeBSD.org>
Mon, 18 Nov 2019 10:19:16 +0000 (10:19 +0000)
committertrasz <trasz@FreeBSD.org>
Mon, 18 Nov 2019 10:19:16 +0000 (10:19 +0000)
commite480233bc966bf7e338428723317dd8956305ba8
treeb0ecab8087631c1ff11e2f47886eb3e2bc6d4ed3
parentf3b212b1a5919ad51b644a9021cb3ef22e27caec
Make linux(4) open(2)/openat(2) return ELOOP instead of EMLINK,
when being passed O_NOFOLLOW.  This fixes LTP testcase openat02:5.

Reviewed by: emaste
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D22384
sys/compat/linux/linux_file.c