Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern bump the pathname size to NAME_MAX as ...



details:   https://anonhg.NetBSD.org/src/rev/ad52e8797cd4
branches:  trunk
changeset: 318766:ad52e8797cd4
user:      christos <christos%NetBSD.org@localhost>
date:      Fri May 04 19:56:58 2018 +0000
description:
bump the pathname size to NAME_MAX as POSIX wants.

diffstat:

 sys/kern/uipc_sem.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a8701d984acf -r ad52e8797cd4 sys/kern/uipc_sem.c
--- a/sys/kern/uipc_sem.c       Fri May 04 19:45:27 2018 +0000
+++ b/sys/kern/uipc_sem.c       Fri May 04 19:56:58 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uipc_sem.c,v 1.48 2017/11/30 20:25:55 christos Exp $   */
+/*     $NetBSD: uipc_sem.c,v 1.49 2018/05/04 19:56:58 christos Exp $   */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_sem.c,v 1.48 2017/11/30 20:25:55 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_sem.c,v 1.49 2018/05/04 19:56:58 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -85,7 +85,7 @@
 
 MODULE(MODULE_CLASS_MISC, ksem, NULL);
 
-#define        SEM_MAX_NAMELEN         14
+#define        SEM_MAX_NAMELEN         NAME_MAX
 
 #define        SEM_NSEMS_MAX           256
 #define        KS_UNLINKED             0x01



Home | Main Index | Thread Index | Old Index