diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2024-03-25 17:57:08 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2024-03-25 17:57:08 +0000 |
commit | cd3459888eb31184926e234e88f9d883d1b9baa8 (patch) | |
tree | e724229b474aae403e0edc1366c6a9f9be67b8cf /lib/libc | |
parent | d71590eff814f93920fe75a0ac064873462860d8 (diff) |
Move the "no (hard) linking directories" and "no cross-mount links"
checks from all the filesystems that support hardlinks at all into
the VFS layer. Simplify, EPERM description in link(2).
ok miod@ mpi@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/link.2 | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libc/sys/link.2 b/lib/libc/sys/link.2 index a9c241a5583..4d6f9f1abe3 100644 --- a/lib/libc/sys/link.2 +++ b/lib/libc/sys/link.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: link.2,v 1.29 2015/09/10 17:55:21 schwarze Exp $ +.\" $OpenBSD: link.2,v 1.30 2024/03/25 17:57:07 guenther Exp $ .\" $NetBSD: link.2,v 1.7 1995/02/27 12:34:01 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)link.2 8.3 (Berkeley) 1/12/94 .\" -.Dd $Mdocdate: September 10 2015 $ +.Dd $Mdocdate: March 25 2024 $ .Dt LINK 2 .Os .Sh NAME @@ -172,11 +172,7 @@ does exist. .It Bq Er EPERM The file named by .Fa name1 -is a directory and the effective -user ID is not superuser, -or the file system containing the file does not permit the use of -.Fn link -on a directory. +is a directory. .It Bq Er EPERM The file named by .Fa name1 |