Date: Mon, 22 Jul 2019 20:33:19 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r350226 - stable/11/sys/dev/nand Message-ID: <201907222033.x6MKXJXk034696@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Mon Jul 22 20:33:19 2019 New Revision: 350226 URL: https://svnweb.freebsd.org/changeset/base/350226 Log: MFS12 r350205: nand: create device with 0640 permission rw-r----- is the usual/standard permissions for such devices. Merge of direct commit to stable/12 as this code has been removed in HEAD. Note that the NAND subsystem is not built by default. Sponsored by: The FreeBSD Foundation Modified: stable/11/sys/dev/nand/nand_cdev.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/dev/nand/nand_cdev.c ============================================================================== --- stable/11/sys/dev/nand/nand_cdev.c Mon Jul 22 20:11:33 2019 (r350225) +++ stable/11/sys/dev/nand/nand_cdev.c Mon Jul 22 20:33:19 2019 (r350226) @@ -99,7 +99,7 @@ nand_make_dev(struct nand_chip *chip) parent_unit = device_get_unit(parent); unit = parent_unit * 4 + chip->num; chip->cdev = make_dev(&nand_cdevsw, unit, UID_ROOT, GID_WHEEL, - 0666, "%s%d.%d", name, parent_unit, chip->num); + 0640, "%s%d.%d", name, parent_unit, chip->num); if (chip->cdev == NULL) return (ENXIO);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907222033.x6MKXJXk034696>