gpm-1.19.3-rh-owl-socket-mode.diff

来自「gpm-1.20.0.tar.gz」· DIFF 代码 · 共 15 行

DIFF
15
字号
--- gpm-1.19.3/gpm.c.orig	Tue Jul 18 16:06:06 2000+++ gpm-1.19.3/gpm.c	Sat Jan  6 10:10:41 2001@@ -1012,8 +1012,9 @@       oops(ctladdr.sun_path);   maxfd=max(maxfd,ctlfd); -/* is this a bug in the new kernels? */-  chmod(GPM_NODE_CTL,0777);+/* only allow the console user to access. */+  if (chmod(GPM_NODE_CTL,0600)==-1)+    oops(GPM_NODE_CTL);  /*....................................... get screen dimensions */ 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?