Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1439542
| From | Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC] arm64: kexec_file_load support |
| Date | 2016-07-08 16:50 +0200 |
| Message-ID | <rSFgm-64x-41@gated-at.bofh.it> (permalink) |
| References | <rPYSe-2uA-7@gated-at.bofh.it> <rRtqV-8gY-11@gated-at.bofh.it> <rSaPf-35L-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Am Donnerstag, 07 Juli 2016, 14:12:45 schrieb Dave Young:
> If so maybe change a bit from your precious mentioned 7 args proposal like
> below?
>
> struct kexec_file_fd {
> enum kexec_file_type;
> int fd;
> }
>
> struct kexec_fdset {
> int nr_fd;
> struct kexec_file_fd fd[0];
> }
>
> int kexec_file_load(int kernel_fd, int initrd_fd,
> unsigned long cmdline_len, const char *cmdline_ptr,
> unsigned long flags, struct kexec_fdset *extra_fds);
Is there a way for the kernel to distinguish whether the process passed 5 or
6 arguments? How can it know whether extra_fds is a valid argument or just
garbage? I think we have to define a new flag KEXEC_FILE_EXTRA_FDS so that
the process can signal that it is using the new interface.
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC] arm64: kexec_file_load support AKASHI Takahiro <takahiro.akashi@linaro.org> - 2016-07-01 07:10 +0200
Re: [RFC] arm64: kexec_file_load support Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-07-01 17:50 +0200
Re: [RFC] arm64: kexec_file_load support AKASHI Takahiro <takahiro.akashi@linaro.org> - 2016-07-04 09:00 +0200
Re: [RFC] arm64: kexec_file_load support Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-07-05 01:00 +0200
Re: [RFC] arm64: kexec_file_load support AKASHI Takahiro <takahiro.akashi@linaro.org> - 2016-07-05 10:10 +0200
Re: [RFC] arm64: kexec_file_load support Dave Young <dyoung@redhat.com> - 2016-07-05 03:30 +0200
Re: [RFC] arm64: kexec_file_load support AKASHI Takahiro <takahiro.akashi@linaro.org> - 2016-07-05 10:00 +0200
Re: [RFC] arm64: kexec_file_load support Dave Young <dyoung@redhat.com> - 2016-07-07 08:20 +0200
Re: [RFC] arm64: kexec_file_load support Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-07-08 16:50 +0200
Re: [RFC] arm64: kexec_file_load support Dave Young <dyoung@redhat.com> - 2016-07-11 05:20 +0200
Re: [RFC] arm64: kexec_file_load support AKASHI Takahiro <takahiro.akashi@linaro.org> - 2016-07-11 09:20 +0200
Re: [RFC] arm64: kexec_file_load support Dave Young <dyoung@redhat.com> - 2016-07-11 10:20 +0200
csiph-web