Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librt It is not a bug that we are only allo...
details: https://anonhg.NetBSD.org/src/rev/3898e1dd2520
branches: trunk
changeset: 318769:3898e1dd2520
user: christos <christos%NetBSD.org@localhost>
date: Fri May 04 20:28:51 2018 +0000
description:
It is not a bug that we are only allowing /name. Update for newly allowed
length.
diffstat:
lib/librt/sem_open.3 | 34 +++++++++++++++++-----------------
1 files changed, 17 insertions(+), 17 deletions(-)
diffs (75 lines):
diff -r 326776293156 -r 3898e1dd2520 lib/librt/sem_open.3
--- a/lib/librt/sem_open.3 Fri May 04 20:26:50 2018 +0000
+++ b/lib/librt/sem_open.3 Fri May 04 20:28:51 2018 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: sem_open.3,v 1.6 2012/03/08 22:12:52 wiz Exp $
+.\" $NetBSD: sem_open.3,v 1.7 2018/05/04 20:28:51 christos Exp $
.\"
.\" Copyright (C) 2000 Jason Evans <jasone%FreeBSD.org@localhost>.
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" From: FreeBSD: src/lib/libc/gen/sem_open.3,v 1.12 2004/07/02 16:45:56 ru
.\"
-.Dd February 29, 2012
+.Dd May 4, 2018
.Dt SEM_OPEN 3
.Os
.Sh NAME
@@ -150,11 +150,15 @@
.It Bq Er EINTR
The call was interrupted by a signal.
.It Bq Er EINVAL
+The
+.Fa name
+argument does not begin with a
+.Sq /
+or contains more slashes.
+This is implementation-specific behavior and allowed by
+.St -p1003.1-96 .
+.It Bq Er EINVAL
The
-.Fn sem_open
-operation is not supported for the given
-.Fa name ;
-or the
.Fa value
argument is greater than
.Dv SEM_VALUE_MAX .
@@ -162,9 +166,11 @@
.\".It Bq Er EMFILE
.\"Too many semaphores are in use by this process.
.It Bq Er ENAMETOOLONG
-The
+The specified
.Fa name
-argument is too long.
+is longer than
+.Dv NAME_MAX ,
+or longer than the implementing filesystem will allow.
.It Bq Er ENFILE
The system limit on semaphores has been reached.
.It Bq Er ENOENT
@@ -193,7 +199,9 @@
.It Bq Er ENAMETOOLONG
The specified
.Fa name
-is too long.
+is longer than
+.Dv NAME_MAX ,
+or longer than the implementing filesystem will allow.
.It Bq Er ENOENT
The named semaphore does not exist.
.El
@@ -218,11 +226,3 @@
.Sh HISTORY
Support for named semaphores first appeared in
.Nx 2.0 .
-.Sh BUGS
-This implementation places strict requirements on the value of
-.Fa name :
-it must begin with a slash
-.Pq Ql / ,
-contain no other slash characters,
-and be less than 14 characters in length
-not including the terminating null character.
Home |
Main Index |
Thread Index |
Old Index