git: d89c1c461ce3 - main - Reserve gaps in syscall numbers for local use
Brooks Davis
brooks at freebsd.org
Tue Jan 26 23:34:18 UTC 2021
On Wed, Jan 27, 2021 at 12:50:35AM +0200, Konstantin Belousov wrote:
> On Tue, Jan 26, 2021 at 06:28:24PM +0000, Brooks Davis wrote:
> > The branch main has been updated by brooks:
> >
> > URL: https://cgit.FreeBSD.org/src/commit/?id=d89c1c461ce31bfc789dbb7bc5f4fce5824c595e
> >
> > commit d89c1c461ce31bfc789dbb7bc5f4fce5824c595e
> > Author: Brooks Davis <brooks at FreeBSD.org>
> > AuthorDate: 2021-01-26 18:27:45 +0000
> > Commit: Brooks Davis <brooks at FreeBSD.org>
> > CommitDate: 2021-01-26 18:27:45 +0000
> >
> > Reserve gaps in syscall numbers for local use
> >
> > It is best for auditing of syscalls.master if we only append to the
> > file. Reserving unimplemented system call numbers for local use makes
> > this policy and provides a large set of syscall numbers FreeBSD
> > derivatives can use without risk of conflict.
> >
> > Reviewed by: jhb, kevans, kib
> > Sponsored by: DARPA
> > Differential Revision: https://reviews.freebsd.org/D27988
> > ---
> > sys/kern/init_sysent.c | 120 +++++++++++++++++++++++------------------------
> > sys/kern/syscalls.c | 120 +++++++++++++++++++++++------------------------
> > sys/kern/syscalls.master | 55 ++++++++++------------
> > 3 files changed, 145 insertions(+), 150 deletions(-)
> I highly dislike this. You committed both manually edited file and generated
> files in one commit. Can we please avoid this?
>
> It is hard/impossible to read the diff as is.
While in this case it would be harmless to split the changes, I strongly
disagree with the concept of separating syscalls.master changes and
generated files because in the common case (adding syscalls) it requires
that the first commit break the build.
-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/dev-commits-src-main/attachments/20210126/16fa10cc/attachment.sig>
More information about the dev-commits-src-main
mailing list