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); _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"