类 Ⅰ名1.(许多相似或相同的事物的综合; 种类) class; category; kind; type 分类 classify; 诸如此类 things like that; and suchlike; and what not; 物以类聚。 things of one kind come together.; birds of a feather flock together.2.(姓氏) a surname 类牢 lei laoⅡ动词(类似) resemble; be similar to 画虎不成反类犬 try to draw a tiger but end up with the likeness of a dog
But if multiple users can add files to a directory in a unix - like system , and you plan to add files to that directory from a privileged program , make sure that the 但是,在类unix系统中,如果多个用户都可以向同一目录添加文件,而且您计划通过一个有特权的程序向该目录添加文件,那么要确保为该目录设置“ sticky ”位。
In fact , a vulnerability to race conditions is one of the more common vulnerabilities in software , and on unix - like systems , the directories tmp and var tmp are often misused in a way that opens up race conditions 实际上,竞争条件缺陷是软件的更常见缺陷之一,此外,在类unix系统上, / tmp和/ var / tmp目录经常会被错误地使用,从而导致竞争条件。
On most unix - like systems , permissions are only checked on open , so an attacker could open the file while the permission bits said it was ok , and keep the file open with those permissions indefinitely 在大部分类unix系统上,只在打开文件时才检查权限,所以,攻击者可以在权限位( permission bit )允许时打开文件,并使该文件一直处于打开状态,不管权限如何改变。
Since i m concentrating on unix - like systems , i won t go into the details of how to deal with this problem , but it s worth noting , because this is an example where simply checking for legal characters isn t enough 由于我所关心的是类unix系统,我就不再深入地探讨如何解决这个问题了,而且这也没有什么意义,因为这只是一个例子,用来说明一种用于检查的合法字符不足的情况。
Windows versions used ini files , then moved to a binary and unified registry ; eariler versions of mac os had resource forks in the file system and a desktop file for its finder ; linux and other unix - like systems typically used dotted , hidden files in home directories , with configuration detailed in dozens of incompatible ways between window managers and applications Windows版本使用ini文件,后来改为二进制的(也是统一的)注册表;早期版本的mac os在文件系统中有资源叉和供finder使用的桌面文件; linux和其他类unix系统通常使用主目录中分散的、隐藏的文件,窗体管理工具和应用程序之间的详细配置有多种互不兼容的方式。
Programs sometimes leave behind junk temporary files , so most unix - like systems automatically delete old temporary files in the special directories tmp and var tmp the program " tmpwatch " does this , and some programs automatically remove files from special temporary file directories 程序有时会留下一些没用的临时文件,所以,大部分类unix系统会自动删除特定目录/ tmp和/ var / tmp下的原有临时文件( “ tmpwatch ”程序可以完成这项任务) ,一些程序会“自动”删除它们所使用的特定临时目录下的文件。