[Devel] [PATCH RH9 00/16] part-6: sysctls and proc virtualization

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Tue Sep 28 15:40:50 MSK 2021


Note: two ve/time patches would go separately, everything else is here.

https://jira.sw.ru/browse/PSBM-133988

Andrew Vagin (1):
  ve/sysctl/pidns: allow to change sysctl "ns_last_pid" from containers

Kirill Tkhai (4):
  sysctl: Change sysctl::show_unhandled_signals default
  ve/proc: Show vcpu in do_task_stat()
  ve: Virtualize /proc/swaps to watch from inside CT
  ve: Replace 0 ppid with 1 (workaround for bad utils)

Konstantin Khlebnikov (1):
  ve/sysctl: write permission restriction

Konstantin Khorenko (3):
  sysctl: make hotplug, printk and mmap_min_addr accessible inside a CT
  ve/sysctl/ipc: mark as virtualized
  ve/proc: virtualize /proc/meminfo in a Container

Pavel Tikhomirov (2):
  ve/sysctl/net: allow "net.unix.max_dgram_qlen" sysctl in CT init
    userns
  ve/sysctl/net: allow net.ipv4.vs.* in CT init userns

Stanislav Kinsburskiy (5):
  ve/sysctl: implement virtualized methods
  ve/sysctl: allow to write kernel/hostname and kernel/domainname
    entries in container
  introduce ve_net_hide_sysctl helper
  ve/proc: restricted proc-entries scope
  ve/proc: print VE id and virtual pid in process status

 arch/x86/mm/fault.c            |   2 +-
 fs/filesystems.c               |   2 +-
 fs/locks.c                     |   2 +-
 fs/proc/array.c                |  30 +++++++--
 fs/proc/base.c                 |   2 +-
 fs/proc/cmdline.c              |   2 +-
 fs/proc/cpuinfo.c              |   2 +-
 fs/proc/devices.c              |   2 +-
 fs/proc/generic.c              |  48 ++++++++++++---
 fs/proc/inode.c                |   4 +-
 fs/proc/loadavg.c              |   2 +-
 fs/proc/meminfo.c              | 107 ++++++++++++++++++++++++++++++++-
 fs/proc/proc_net.c             |   2 +-
 fs/proc/proc_sysctl.c          |  32 ++++++++--
 fs/proc/root.c                 |   7 ++-
 fs/proc/self.c                 |   2 +-
 fs/proc/stat.c                 |   2 +-
 fs/proc/uptime.c               |   2 +-
 fs/proc/version.c              |   2 +-
 include/linux/memcontrol.h     |  24 ++++++++
 include/linux/pid.h            |   1 +
 include/linux/proc_fs.h        |  11 +++-
 include/linux/sysctl.h         |  11 ++++
 include/linux/ve.h             |   7 +++
 include/linux/virtinfo.h       |  24 ++++++++
 ipc/ipc_sysctl.c               |  34 +++++------
 ipc/mq_sysctl.c                |  11 ++--
 ipc/util.c                     |   2 +-
 kernel/cgroup/cgroup.c         |   3 +-
 kernel/module.c                |   4 +-
 kernel/pid.c                   |  12 ++++
 kernel/pid_namespace.c         |   2 +-
 kernel/sys.c                   |   2 +-
 kernel/sysctl.c                |  71 +++++++++++++++++++---
 kernel/utsname_sysctl.c        |   5 +-
 kernel/ve/ve.c                 |  19 ++++++
 mm/memcontrol.c                |  38 ++++++++----
 mm/swapfile.c                  |  38 +++++++++++-
 mm/vmstat.c                    |   2 +-
 net/netfilter/ipvs/ip_vs_ctl.c |   3 +-
 net/netfilter/x_tables.c       |   9 ++-
 net/unix/sysctl_net_unix.c     |   3 +-
 42 files changed, 487 insertions(+), 103 deletions(-)
 create mode 100644 include/linux/virtinfo.h

-- 
2.31.1



More information about the Devel mailing list