[SSI-users] I found a problem in the chard option for mount command in OpenSSI 1.9.1 version
Brought to you by:
brucewalker,
rogertsang
From: Patrizio <pb....@ce...> - 2005-06-24 08:20:43
|
In OpenSSI 1.9.1 if mount a filesystem with options chard,defaults not run correctly but mount it with options noexec,nodev,nosuid and not exec,dev,suid !!!. I have verify the source of mount from CVS and i found an error in the definition of the constants MS_CHARD and MS_PAMCONSOLE , now there are equal !! MS_CHARD is (1<<27) and MS_PAMCONSOLE is 0x08000000 and it is the same !!!!! Then in parse_opt if a mount option is "chard" set the mask with MS_SECURE (nodev,noexec,nosuid). If I set MS_PAMCONSOLE with 0x80000000 is ok ? P.S.: this problem is not present in OpenSSI 1.2.2 version because the constant MS_PAMCONSOLE is not present! Sorry for my horrible english! Bye,bye. |