Re: [PATCH v2] binder: use standard functions to allocate fds

2018-08-28 Thread Greg KH
On Tue, Aug 28, 2018 at 01:46:25PM -0700, Todd Kjos wrote: > Binder uses internal fs interfaces to allocate and install fds: > > __alloc_fd > __fd_install > __close_fd > get_files_struct > put_files_struct > > These were used to support the passing of fds between processes > as part of a

Re: [PATCH v2] binder: use standard functions to allocate fds

2018-08-28 Thread Greg KH
On Tue, Aug 28, 2018 at 01:43:35PM -0700, Todd Kjos wrote: > Sorry, forgot to bump the version. Ignore this one. Huh? I see two "v2" patches :( totally confused. greg k-h ___ devel mailing list de...@linuxdriverproject.org

[PATCH v2] binder: use standard functions to allocate fds

2018-08-28 Thread Todd Kjos
Binder uses internal fs interfaces to allocate and install fds: __alloc_fd __fd_install __close_fd get_files_struct put_files_struct These were used to support the passing of fds between processes as part of a transaction. The actual allocation and installation of the fds in the target process

Re: [PATCH v2] binder: use standard functions to allocate fds

2018-08-28 Thread Todd Kjos
Sorry, forgot to bump the version. Ignore this one. On Tue, Aug 28, 2018 at 1:43 PM Todd Kjos wrote: > > Binder uses internal fs interfaces to allocate and install fds: > > __alloc_fd > __fd_install > __close_fd > get_files_struct > put_files_struct > > These were used to support the passing of

[PATCH v2] binder: use standard functions to allocate fds

2018-08-28 Thread Todd Kjos
Binder uses internal fs interfaces to allocate and install fds: __alloc_fd __fd_install __close_fd get_files_struct put_files_struct These were used to support the passing of fds between processes as part of a transaction. The actual allocation and installation of the fds in the target process