[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v2 06/23] lib/vfscore: update license header for imported files
Hello Yuri, This patch seems fine. Reviewed-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx> Thanks & Regards Sharan On 2/4/19 3:36 PM, Yuri Volchkov wrote: Signed-off-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx> --- lib/nolibc/include/sys/mount.h | 35 ++++++++++++++++++++++++++++ lib/nolibc/include/sys/uio.h | 35 ++++++++++++++++++++++++++++ lib/vfscore/dentry.c | 10 +++----- lib/vfscore/fops.c | 33 +++++++++++++++++++++++--- lib/vfscore/include/vfscore/dentry.h | 32 +++++++++++++++++++++++-- lib/vfscore/include/vfscore/prex.h | 32 +++++++++++++++++++++++-- lib/vfscore/include/vfscore/vnode.h | 3 +++ lib/vfscore/lookup.c | 3 +++ lib/vfscore/main.c | 10 +++----- lib/vfscore/mount.c | 3 +++ lib/vfscore/subr_uio.c | 9 +++++-- lib/vfscore/syscalls.c | 10 +++----- lib/vfscore/task.c | 8 +++++-- lib/vfscore/vfs.h | 3 +++ lib/vfscore/vnode.c | 3 +++ 15 files changed, 197 insertions(+), 32 deletions(-) diff --git a/lib/nolibc/include/sys/mount.h b/lib/nolibc/include/sys/mount.h index af855d69..d7a95b38 100644 --- a/lib/nolibc/include/sys/mount.h +++ b/lib/nolibc/include/sys/mount.h @@ -1,3 +1,38 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* + * Copyright (C) 2013 Cloudius Systems, Ltd. + * Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. + * + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY. + */ + #ifndef _SYS_MOUNT_H #define _SYS_MOUNT_Hdiff --git a/lib/nolibc/include/sys/uio.h b/lib/nolibc/include/sys/uio.hindex 18266038..cdfbec9b 100644 --- a/lib/nolibc/include/sys/uio.h +++ b/lib/nolibc/include/sys/uio.h @@ -1,3 +1,38 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* + * Copyright (C) 2013 Cloudius Systems, Ltd. + * Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. + * + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY. + */ + #ifndef _SYS_UIO_H #define _SYS_UIO_Hdiff --git a/lib/vfscore/dentry.c b/lib/vfscore/dentry.cindex c2f209b2..efc10bd6 100644 --- a/lib/vfscore/dentry.c +++ b/lib/vfscore/dentry.c @@ -1,12 +1,8 @@ -/* - * Copyright (C) 2014 Cloudius Systems, Ltd. - * - * This work is open source software, licensed under the terms of the - * BSD license as described in the LICENSE file in the top-level directory. - */ - +/* SPDX-License-Identifier: BSD-3-Clause */ /* * Copyright (c) 2005-2007, Kohsuke Ohtani + * Copyright (C) 2014 Cloudius Systems, Ltd. + * Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/lib/vfscore/fops.c b/lib/vfscore/fops.c index ab1f8cbb..a94ca452 100644 --- a/lib/vfscore/fops.c +++ b/lib/vfscore/fops.c @@ -1,11 +1,38 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * Copyright (C) 2013 Cloudius Systems, Ltd. + * Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. * - * This work is open source software, licensed under the terms of the - * BSD license as described in the LICENSE file in the top-level directory. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY. */-#include <fcntl.h> #include <sys/stat.h> #include <osv/file.h> diff --git a/lib/vfscore/include/vfscore/dentry.h b/lib/vfscore/include/vfscore/dentry.h index f5850786..2d2eaa1b 100644 --- a/lib/vfscore/include/vfscore/dentry.h +++ b/lib/vfscore/include/vfscore/dentry.h @@ -1,8 +1,36 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * Copyright (C) 2014 Cloudius Systems, Ltd. + * Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. * - * This work is open source software, licensed under the terms of the - * BSD license as described in the LICENSE file in the top-level directory. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY. */#ifndef _OSV_DENTRY_Hdiff --git a/lib/vfscore/include/vfscore/prex.h b/lib/vfscore/include/vfscore/prex.h index 43650340..7b053319 100644 --- a/lib/vfscore/include/vfscore/prex.h +++ b/lib/vfscore/include/vfscore/prex.h @@ -1,8 +1,36 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * Copyright (C) 2013 Cloudius Systems, Ltd. + * Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. * - * This work is open source software, licensed under the terms of the - * BSD license as described in the LICENSE file in the top-level directory. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY. */#ifndef _OSV_PREX_Hdiff --git a/lib/vfscore/include/vfscore/vnode.h b/lib/vfscore/include/vfscore/vnode.h index e35aa830..4874f1b9 100644 --- a/lib/vfscore/include/vfscore/vnode.h +++ b/lib/vfscore/include/vfscore/vnode.h @@ -1,5 +1,8 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * Copyright (c) 2005-2007, Kohsuke Ohtani + * Copyright (C) 2014 Cloudius Systems, Ltd. + * Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/lib/vfscore/lookup.c b/lib/vfscore/lookup.c index 30139a87..0aa5ca3b 100644 --- a/lib/vfscore/lookup.c +++ b/lib/vfscore/lookup.c @@ -1,5 +1,8 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * Copyright (c) 2005-2007, Kohsuke Ohtani + * Copyright (C) 2014 Cloudius Systems, Ltd. + * Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/lib/vfscore/main.c b/lib/vfscore/main.c index 8d9dc33a..e3004597 100644 --- a/lib/vfscore/main.c +++ b/lib/vfscore/main.c @@ -1,12 +1,8 @@ -/* - * Copyright (C) 2013 Cloudius Systems, Ltd. - * - * This work is open source software, licensed under the terms of the - * BSD license as described in the LICENSE file in the top-level directory. - */ - +/* SPDX-License-Identifier: BSD-3-Clause */ /* * Copyright (c) 2005-2007, Kohsuke Ohtani + * Copyright (C) 2013 Cloudius Systems, Ltd. + * Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/lib/vfscore/mount.c b/lib/vfscore/mount.c index b51b27a4..76e2e70c 100644 --- a/lib/vfscore/mount.c +++ b/lib/vfscore/mount.c @@ -1,5 +1,8 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * Copyright (c) 2005-2007, Kohsuke Ohtani + * Copyright (C) 2014 Cloudius Systems, Ltd. + * Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/lib/vfscore/subr_uio.c b/lib/vfscore/subr_uio.c index bf138b8e..8276d6d4 100644 --- a/lib/vfscore/subr_uio.c +++ b/lib/vfscore/subr_uio.c @@ -1,7 +1,12 @@ -/*- +/* SPDX-License-Identifier: BSD-3-Clause */ +/* * Copyright (c) 1982, 1986, 1991, 1993 - * The Regents of the University of California. All rights reserved. + * The Regents of the University of California. * (c) UNIX System Laboratories, Inc. + * Copyright (C) 2014 Cloudius Systems, Ltd. + * Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. + * All rights reserved. + * * All or some portions of this file are derived from material licensed * to the University of California by American Telephone and Telegraph * Co. or Unix System Laboratories, Inc. and are reproduced herein with diff --git a/lib/vfscore/syscalls.c b/lib/vfscore/syscalls.c index b5433ece..29b14220 100644 --- a/lib/vfscore/syscalls.c +++ b/lib/vfscore/syscalls.c @@ -1,12 +1,8 @@ -/* - * Copyright (C) 2013 Cloudius Systems, Ltd. - * - * This work is open source software, licensed under the terms of the - * BSD license as described in the LICENSE file in the top-level directory. - */ - +/* SPDX-License-Identifier: BSD-3-Clause */ /* * Copyright (c) 2005-2007, Kohsuke Ohtani + * Copyright (C) 2014 Cloudius Systems, Ltd. + * Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/lib/vfscore/task.c b/lib/vfscore/task.c index b2a028c6..2d34f0df 100644 --- a/lib/vfscore/task.c +++ b/lib/vfscore/task.c @@ -1,5 +1,9 @@ -/*- - * Copyright (c) 2007, Kohsuke Ohtani All rights reserved. +/* SPDX-License-Identifier: BSD-3-Clause */ +/* + * Copyright (c) 2007, Kohsuke Ohtani + * Copyright (C) 2014 Cloudius Systems, Ltd. + * Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. + * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/lib/vfscore/vfs.h b/lib/vfscore/vfs.h index 2b825521..c130517d 100644 --- a/lib/vfscore/vfs.h +++ b/lib/vfscore/vfs.h @@ -1,5 +1,8 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * Copyright (c) 2005-2007, Kohsuke Ohtani + * Copyright (C) 2014 Cloudius Systems, Ltd. + * Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/lib/vfscore/vnode.c b/lib/vfscore/vnode.c index 119ed870..3412c6fb 100644 --- a/lib/vfscore/vnode.c +++ b/lib/vfscore/vnode.c @@ -1,5 +1,8 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * Copyright (c) 2005-2008, Kohsuke Ohtani + * Copyright (C) 2014 Cloudius Systems, Ltd. + * Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |