mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
shared/linux: fix fake flexible array in struct autofs_dev_ioctl
The kernel still hasn't fixed this in kernel-headers-6.2.0-0.rc6.git0.1.fc38.x86_64.
This commit is contained in:
parent
d42add3c17
commit
c8b960af14
@ -1,6 +1,7 @@
|
|||||||
The files in this directory are copied from kernel-6.2, and the following modifications are applied:
|
The files in this directory are copied from kernel-6.2, and the following modifications are applied:
|
||||||
- auto_dev-ioctl.h: set AUTOFS_DEV_IOCTL_VERSION_MINOR to 0
|
- auto_dev-ioctl.h: set AUTOFS_DEV_IOCTL_VERSION_MINOR to 0
|
||||||
- auto_dev-ioctl.h: define AUTOFS_IOCTL if not defined
|
- auto_dev-ioctl.h: define AUTOFS_IOCTL if not defined
|
||||||
|
- auto_dev-ioctl.h: use of fake flexible array is fixed
|
||||||
- bpf_insn.h: This is imported from samples/bpf/bpf_insn.h
|
- bpf_insn.h: This is imported from samples/bpf/bpf_insn.h
|
||||||
- bpf_insn.h: BPF_JMP_A() macro is also imported from include/linux/filter.h
|
- bpf_insn.h: BPF_JMP_A() macro is also imported from include/linux/filter.h
|
||||||
- dm-ioctl.h: set DM_VERSION_MINOR to 27
|
- dm-ioctl.h: set DM_VERSION_MINOR to 27
|
||||||
|
@ -109,7 +109,7 @@ struct autofs_dev_ioctl {
|
|||||||
struct args_ismountpoint ismountpoint;
|
struct args_ismountpoint ismountpoint;
|
||||||
};
|
};
|
||||||
|
|
||||||
char path[0];
|
char path[];
|
||||||
};
|
};
|
||||||
|
|
||||||
static __inline__ void init_autofs_dev_ioctl(struct autofs_dev_ioctl *in)
|
static __inline__ void init_autofs_dev_ioctl(struct autofs_dev_ioctl *in)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user