commit | d2ec3f77de8e67b7a3dab3ec827467e0fd797c86 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Thu Sep 08 15:35:59 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 15 12:47:03 2016 +0200 |
tree | 42575ee9f06a4d099398699b521edbd2ad125e93 | |
parent | a727b025f43d7952c0697562f5cecda9f42758aa [diff] |
pty: make ptmx file ops read-only after init The ptmx_fops structure is only changed during init, so mark it as such. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>