New issue
Advanced search Search tips

Issue 889063 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

minijail: add a logging flag that logs & permits all missing syscalls

Project Member Reported by vapier@chromium.org, Sep 25

Issue description

today the -L option will log details about the first missing syscall before failing, so people have to run->fail->update filter->run->fail->update->forever

it'd be better if the -L option would log all missing syscalls (and args?) and allow it to continue executing

to make sure this doesn't show up in release images, we can put it behind USE=cros-debug
 
And to add to this, the way to do this would be to use the new seccomp return codes added in kernels 4.14+.
Project Member

Comment 2 by bugdroid1@chromium.org, Oct 19

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/a4d9d0ade94ab2d9e36f5ebab3e1ca75cf2d883b

commit a4d9d0ade94ab2d9e36f5ebab3e1ca75cf2d883b
Author: Mike Frysinger <vapier@chromium.org>
Date: Fri Oct 19 19:19:53 2018

minijail: respect USE=cros-debug to control -L behavior

BUG=chromium:889063
TEST=precq passes

Change-Id: Id6a366fef28b437376e3cfcf85449a81fd747384
Reviewed-on: https://chromium-review.googlesource.com/1249881
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[rename] https://crrev.com/a4d9d0ade94ab2d9e36f5ebab3e1ca75cf2d883b/chromeos-base/minijail/minijail-8-r25.ebuild
[modify] https://crrev.com/a4d9d0ade94ab2d9e36f5ebab3e1ca75cf2d883b/chromeos-base/minijail/minijail-9999.ebuild

Sign in to add a comment