]> Git Repo - linux.git/commit
pty: make ptmx file ops read-only after init
authorKees Cook <[email protected]>
Thu, 8 Sep 2016 22:35:59 +0000 (15:35 -0700)
committerGreg Kroah-Hartman <[email protected]>
Thu, 15 Sep 2016 10:47:03 +0000 (12:47 +0200)
commitd2ec3f77de8e67b7a3dab3ec827467e0fd797c86
tree42575ee9f06a4d099398699b521edbd2ad125e93
parenta727b025f43d7952c0697562f5cecda9f42758aa
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/tty/pty.c
This page took 0.053937 seconds and 4 git commands to generate.