[Devel] [PATCH rh7] ve: Implement cgroup interface to configure ve's os_release

Cyrill Gorcunov gorcunov at odin.com
Fri May 15 11:10:35 PDT 2015


On Fri, May 15, 2015 at 09:03:07PM +0300, Kirill Tkhai wrote:
> It's the similar to VZCTL_VE_CONFIGURE ioctl in PCS6.
> 
> Note: max_write_len is __NEW_UTS_LEN + 1, because I want to allow
> 
> echo ... > ve.os_release, which adds trailing '\n' to the string
> (see man echo for details).
> 
> Extra symbol will be cut in ve_os_release_write().
> 
> https://jira.sw.ru/browse/PSBM-32273
> 
> Signed-off-by: Kirill Tkhai <ktkhai at odin.com>
Reviewed-by: Cyrill Gorcunov <gorcunov at odin.com>



More information about the Devel mailing list