1. 18 Jan, 2013 11 commits
  2. 17 Jan, 2013 15 commits
  3. 16 Jan, 2013 12 commits
  4. 15 Jan, 2013 2 commits
    • Pavel Emelyanov's avatar
      ns: Introduce ns descriptors · 3a1c7d1d
      Pavel Emelyanov authored
      These are structs that (now) tie together ns string
      and the CLONE_ flag. It's nice to have one (some code
      becomes simpler) and will help us with auto-namespaces
      detection.
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      3a1c7d1d
    • Cyrill Gorcunov's avatar
      fsnotify: fanotify -- Group objects in image · eb8f8c12
      Cyrill Gorcunov authored
      As Pavel proposed we can refine fanotify image objects
      squeezing common part in separate entry. Finally the objects
      are grouped as
      
      enum mark_type {
      	INODE	= 1;
      	MOUNT	= 2;
      }
      
      message fanotify_inode_mark_entry {
      	required uint64		i_ino		= 1;
      	required fh_entry	f_handle	= 2;
      }
      
      message fanotify_mount_mark_entry {
      	required uint32		mnt_id		= 1;
      }
      
      message fanotify_mark_entry {
      	required uint32		id		= 1;
      	required mark_type	type		= 2;
      
      	required uint32		mflags		= 3;
      	required uint32		mask		= 4;
      	required uint32		ignored_mask	= 5;
      	required uint32		s_dev		= 6;
      
      	optional fanotify_inode_mark_entry ie	= 7;
      	optional fanotify_mount_mark_entry me	= 8;
      }
      
      This required some tuning in fdinfo parsing and
      fsnotify code itself, but result looks good to me.
      Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      eb8f8c12