Indlela yokubeka wedwa efana neplegde iyaphuhliswa kwiFreeBSD

Kwatyhilwa oko ukuphunyezwa kucetyiwe a isicelo sokwahlula isixhobo seFreeBSD, okusisikhumbuzo sokugoba kunye nokutyhila iminxeba yenkqubo ephuhliswe yiprojekthi ye-OpenBSD.

Ukwahlula kwi-plegde kwenziwa ngokuthintela ukufikelela kwiifowuni zenkqubo ezingasetyenziswanga sisicelo kunye nokuveza ngokukhetha ngokuvula ukufikelela kuphela kwiindlela ezithile zefayile apho isicelo sinokusebenza khona. Kwisicelo, uhlobo loluhlu olumhlophe lwendlela yokufowuna kunye neendlela zefayile zenziwe, kwaye zonke ezinye iifowuni kunye neendlela azivumelekanga.

Umahluko phakathi kokusongwa nokutyhilwa, iphuhliselwe iFreeBSD, iyabila ezantsi ekunikezeni umaleko owongezelelweyo ekuvumela ukuba wahlule usetyenziso ngaphandle okanye utshintsho oluncinci kwikhowudi yazo. Khumbula ukuba kwi-OpenBSD plegde kwaye uvule injongo yokudibanisa ngokuqinileyo kunye nesiseko esisingqongileyo kwaye iphunyezwe ngokudibanisa amanqakwana akhethekileyo kwikhowudi yesicelo ngasinye.

Ukwenza lula umbutho wokukhusela, izihlungi zikuvumela ukuba uphephe iinkcukacha kwinqanaba leefowuni zenkqubo nganye kunye nokuxhaphaza iiklasi zeefowuni zenkqubo (igalelo / isiphumo, ukufundwa kwefayile, ukubhala iifayile, iziseko, ioctl, sysctl, ukuqala kweenkqubo, njl. . Imisebenzi yokuthintela ukufikelela ingabizwa kwikhowudi yesicelo njengoko kwenziwa izenzo ezithile, umzekelo, ukufikelela kwiisokethi kunye neefayile zingavalwa emva kokuvula iifayile eziyimfuneko kunye nokuseka uxhumano lwenethiwekhi.

Umbhali wesibambiso kwaye aveze izibuko leFreeBSD kujongwe ukubonelela ngesakhono sokubeka bucala izicelo ezingafanelekanga, apho usetyenziso lwekhethini lucetywayo, oluvumela ukusetyenziswa kwemithetho echazwe kwifayile eyahlukileyo kwizicelo. Uqwalaselo olucetywayo lubandakanya ifayile enezicwangciso ezisisiseko ezichaza iiklasi zeefowuni zenkqubo kunye neendlela zefayile eziqhelekileyo ezikhethekileyo kwizicelo ezithile (umsebenzi ngesandi, uthungelwano, ukuloga, njl.), kunye nefayile enemigaqo yokufikelela kwizicelo ezithile.

Umsebenzi womkhusane unokusetyenziselwa ukwahlula izinto ezininzi eziluncedo, iinkqubo zeseva, usetyenziso lomzobo, kunye neeseshini zedesktop ezipheleleyo ezingalungiswanga. Ukwabelana ngomkhusane ngeendlela zokwahlula ezibonelelwa yiJail kunye neCapsicum subsystems ziyaxhaswa.

Kwakhona kuyenzeka ukuba uququzelele ukuhlala wedwa, xa izicelo ziqaliswa njengelifa imithetho ebekwe sisicelo somzali, ukongeza kubo ngemiqobo eyahlukeneyo. Eminye imisebenzi ye-kernel (izixhobo zokulungisa iimpazamo, iPOSIX/SysV IPC, PTY) zikhuselwe ngakumbi yindlela yokuthintela ethintela ukufikelela kwizinto zekernel ezenziwe ngeenkqubo ngaphandle kwenkqubo yangoku okanye yomzali.

Inkqubo inokuqwalasela eyakhe yodwa ngokubiza i-curtainctl okanye ngokusebenzisa i-plegde() kunye noveil() imisebenzi enikwe libcurtain ilayibrari, efana ne OpenBSD's. I 'security.curtain.log_level' sysctl inikezelwe ukujonga izitshixo ngelixa usetyenziso lusaqhuba.

Ukufikelela kwiiprothokholi ze-X11 kunye ne-Wayland zenziwe ngokwahlukeneyo ngokuchaza iinketho "-X"/"-Y" kunye no-"-W" xa uqalisa umkhusane, kodwa inkxaso yenkqubo yemizobo ayikazinziswa ngokwaneleyo kwaye inothotho lwemiba engasonjululwanga. iingxaki zivela ikakhulu xa usebenzisa i-X11, kwaye inkxaso ye-Wayland ingcono kakhulu). Abasebenzisi banokongeza izithintelo ezongezelelweyo ngokwenza iifayile zemithetho yendawo (~/.curtain.conf). Umzekelo,

Ukuphunyezwa kubandakanya imodyuli ye-mac_curtain kernel yolawulo lofikelelo olunyanzelekileyo (MAC), iseti yamabala e-FreeBSD kernel kunye nokuphunyezwa kwabaqhubi abayimfuneko kunye nezihlungi, ilayibrari ye-libcurtain yokusebenzisa i-plegde kunye nemisebenzi eveziweyo kwizicelo, ikhethini eliluncedo, libonisa uqwalaselo. iifayile, uluhlu lweemvavanyo, kunye neziqwenga zeenkqubo ezithile zesithuba somsebenzisi (umzekelo, ukusebenzisa i-$TMPDIR ukudibanisa ukusebenza ngeefayile zexeshana). Nanini na xa kunokwenzeka, umbhali uzama ukunciphisa inani lotshintsho olufuna ukupakisha i-kernel kunye nezicelo.

Gqibela ukuba unomdla wokwazi okungakumbi ngayo, ungajonga iinkcukacha Kule khonkco ilandelayo.


Umxholo wenqaku uyabambelela kwimigaqo yethu imigaqo yokuziphatha yokuhlela. Ukuxela impazamo cofa apha.

Yiba ngowokuqala ukuphawula

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa.

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.