git: 8f7327dceecc - main - kboot: update copyright on these files.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Jan 2024 20:05:12 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=8f7327dceecc225029b17378e4a26ae0b73a0a49
commit 8f7327dceecc225029b17378e4a26ae0b73a0a49
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-01-28 19:19:32 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-01-28 20:04:32 +0000
kboot: update copyright on these files.
host_syscalls.c: I've written, so put Netflix copyright on. It's
possible in the confusion that Nathan wrote the host_gettimeofday
implementation.
syscall_nr: These files likely can't enjoy copyright protection since
they are just facts (the per-arch Linux system calls), so add a note
they are in the public domain.
Sponsored by: Netflix
---
stand/kboot/include/arch/aarch64/syscall_nr.h | 4 ++++
stand/kboot/include/arch/amd64/syscall_nr.h | 4 ++++
stand/kboot/include/arch/powerpc64/syscall_nr.h | 4 ++++
stand/kboot/libkboot/host_syscalls.c | 6 ++++++
4 files changed, 18 insertions(+)
diff --git a/stand/kboot/include/arch/aarch64/syscall_nr.h b/stand/kboot/include/arch/aarch64/syscall_nr.h
index 83069dd8dc76..5c776db81d03 100644
--- a/stand/kboot/include/arch/aarch64/syscall_nr.h
+++ b/stand/kboot/include/arch/aarch64/syscall_nr.h
@@ -1,3 +1,7 @@
+/*
+ * This file is in the public domain. It only recounts facts in the only way
+ * possible.
+ */
#define SYS_close 57
#define SYS_dup 23
#define SYS_exit 93
diff --git a/stand/kboot/include/arch/amd64/syscall_nr.h b/stand/kboot/include/arch/amd64/syscall_nr.h
index 2cf26d7ca4dc..705b39c62f44 100644
--- a/stand/kboot/include/arch/amd64/syscall_nr.h
+++ b/stand/kboot/include/arch/amd64/syscall_nr.h
@@ -1,3 +1,7 @@
+/*
+ * This file is in the public domain. It only recounts facts in the only way
+ * possible.
+ */
#define SYS_close 3
#define SYS_dup 32
#define SYS_exit 60
diff --git a/stand/kboot/include/arch/powerpc64/syscall_nr.h b/stand/kboot/include/arch/powerpc64/syscall_nr.h
index 735e79a09158..50946a4f058c 100644
--- a/stand/kboot/include/arch/powerpc64/syscall_nr.h
+++ b/stand/kboot/include/arch/powerpc64/syscall_nr.h
@@ -1,3 +1,7 @@
+/*
+ * This file is in the public domain. It only recounts facts in the only way
+ * possible.
+ */
#define SYS_close 6
#define SYS_dup 41
#define SYS_exit 1
diff --git a/stand/kboot/libkboot/host_syscalls.c b/stand/kboot/libkboot/host_syscalls.c
index 092ddfd133fd..551ff6b777d6 100644
--- a/stand/kboot/libkboot/host_syscalls.c
+++ b/stand/kboot/libkboot/host_syscalls.c
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2022-2024, Netflix, Inc.
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
#include "host_syscall.h"
#include "syscall_nr.h"
#include <stand.h>