[CRIU] [PATCH 0/2] rpc: ban subdirs in logfile name

Ruslan Kuprieiev kupruser at gmail.com
Tue Feb 4 00:51:11 PST 2014


There are two reasons to ban subdirs in logfile name.
First, process might be in different namespace, so it is right to give us fd
for work dir, just like we did with images dir. Second, as service might be ran
as root, it is unsafe to give an opportunity to fill any dir with trash.
If you wan't to put logs/stats somwhere else than images_dir, you could
set work_dir_fd.


Ruslan Kuprieiev (2):
  service: ban subdirs in logfile name
  rpc: add note about subdirs ban in log_file name

 cr-service.c       | 9 +++++++--
 protobuf/rpc.proto | 2 +-
 2 files changed, 8 insertions(+), 3 deletions(-)

-- 
1.8.3.2



More information about the CRIU mailing list