Current-Users archive

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

Re: MAKEDEV still builds /dev/pty*



On Mon, 13 Aug 2012, Paul Goyette wrote:

I just noticed the following change on source-changes

        Modified Files:
                src/etc [netbsd-6]: MAKEDEV.tmpl

        Log Message:
        Pull up following revision(s) (requested by christos in ticket #490):
                etc/MAKEDEV.tmpl: revision 1.157
        Don't create BSD style pty nodes by default anymore since ptyfs is
        mounted by default. Mention that this is a security issue, since
        it allows pty access through the old style node.  While here,
        pull up revision 1.54 (wedges) to reduces diffs to -current

Yet it seems that a "default" installation still creates all the /dev/pty* entries, even though the installation also creates and mounts a /dev/pts file system.

Is there something more that needs/should be done to make us do "the right thing" on a default install?

My example install is identical to the one done by the anita/qemu test framework, using sysinstall. One of the last things that sysinstall does is run "MAKEDEV all".

Ooops, the 'build.sh release' I was using for my test was built right before the original rev 1.157 was committed, so was using the old rev of MAKEDEV.tmpl

Looks good now.  Sorry for the noise.



-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index