mirror of
https://github.com/containers/podman.git
synced 2025-11-13 01:29:06 +08:00
podman load: support downloading files
Support downloading files, for instance via `podman load -i server.com/image.tar`. The specified URL is downloaded in the frontend and stored as a temp file that gets passed down to the backend. Also vendor in c/common@main to use the new `pkg/download`. Fixes: #11970 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
12
vendor/github.com/containers/common/pkg/seccomp/default_linux.go
generated
vendored
12
vendor/github.com/containers/common/pkg/seccomp/default_linux.go
generated
vendored
@@ -80,6 +80,7 @@ func DefaultProfile() *Seccomp {
|
||||
"vmsplice",
|
||||
},
|
||||
Action: ActErrno,
|
||||
Errno: "EPERM",
|
||||
ErrnoRet: &eperm,
|
||||
Args: []*Arg{},
|
||||
},
|
||||
@@ -574,6 +575,7 @@ func DefaultProfile() *Seccomp {
|
||||
"open_by_handle_at",
|
||||
},
|
||||
Action: ActErrno,
|
||||
Errno: "EPERM",
|
||||
ErrnoRet: &eperm,
|
||||
Args: []*Arg{},
|
||||
Excludes: Filter{
|
||||
@@ -609,6 +611,7 @@ func DefaultProfile() *Seccomp {
|
||||
"setns",
|
||||
},
|
||||
Action: ActErrno,
|
||||
Errno: "EPERM",
|
||||
ErrnoRet: &eperm,
|
||||
Args: []*Arg{},
|
||||
Excludes: Filter{
|
||||
@@ -630,6 +633,7 @@ func DefaultProfile() *Seccomp {
|
||||
"chroot",
|
||||
},
|
||||
Action: ActErrno,
|
||||
Errno: "EPERM",
|
||||
ErrnoRet: &eperm,
|
||||
Args: []*Arg{},
|
||||
Excludes: Filter{
|
||||
@@ -657,6 +661,7 @@ func DefaultProfile() *Seccomp {
|
||||
"query_module",
|
||||
},
|
||||
Action: ActErrno,
|
||||
Errno: "EPERM",
|
||||
ErrnoRet: &eperm,
|
||||
Args: []*Arg{},
|
||||
Excludes: Filter{
|
||||
@@ -678,6 +683,7 @@ func DefaultProfile() *Seccomp {
|
||||
"acct",
|
||||
},
|
||||
Action: ActErrno,
|
||||
Errno: "EPERM",
|
||||
ErrnoRet: &eperm,
|
||||
Args: []*Arg{},
|
||||
Excludes: Filter{
|
||||
@@ -707,6 +713,7 @@ func DefaultProfile() *Seccomp {
|
||||
"ptrace",
|
||||
},
|
||||
Action: ActErrno,
|
||||
Errno: "EPERM",
|
||||
ErrnoRet: &eperm,
|
||||
Args: []*Arg{},
|
||||
Excludes: Filter{
|
||||
@@ -730,6 +737,7 @@ func DefaultProfile() *Seccomp {
|
||||
"ioperm",
|
||||
},
|
||||
Action: ActErrno,
|
||||
Errno: "EPERM",
|
||||
ErrnoRet: &eperm,
|
||||
Args: []*Arg{},
|
||||
Excludes: Filter{
|
||||
@@ -757,6 +765,7 @@ func DefaultProfile() *Seccomp {
|
||||
"clock_settime64",
|
||||
},
|
||||
Action: ActErrno,
|
||||
Errno: "EPERM",
|
||||
ErrnoRet: &eperm,
|
||||
Args: []*Arg{},
|
||||
Excludes: Filter{
|
||||
@@ -778,6 +787,7 @@ func DefaultProfile() *Seccomp {
|
||||
"vhangup",
|
||||
},
|
||||
Action: ActErrno,
|
||||
Errno: "EPERM",
|
||||
ErrnoRet: &eperm,
|
||||
Args: []*Arg{},
|
||||
Excludes: Filter{
|
||||
@@ -789,6 +799,7 @@ func DefaultProfile() *Seccomp {
|
||||
"socket",
|
||||
},
|
||||
Action: ActErrno,
|
||||
Errno: "EINVAL",
|
||||
ErrnoRet: &einval,
|
||||
Args: []*Arg{
|
||||
{
|
||||
@@ -867,6 +878,7 @@ func DefaultProfile() *Seccomp {
|
||||
|
||||
return &Seccomp{
|
||||
DefaultAction: ActErrno,
|
||||
DefaultErrno: "ENOSYS",
|
||||
DefaultErrnoRet: &enosys,
|
||||
ArchMap: arches(),
|
||||
Syscalls: syscalls,
|
||||
|
||||
Reference in New Issue
Block a user