From 6e042f77995d1cd06c68d90e01c5e29a67c3e168 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 5 Jul 2020 11:07:03 +0200 Subject: [PATCH] Add some copyright headers. * lib/dev-ino.h: Add copyright header. * lib/di-set.h: Likewise. * lib/fchown-stub.c: Likewise. * lib/file-set.h: Likewise. * lib/hash-triple.h: Likewise. * lib/idcache.h: Likewise. * lib/ino-map.h: Likewise. * lib/mkancesdirs.h: Likewise. * lib/scratch_buffer.h: Likewise. * lib/se-context.in.h: Likewise. * lib/stdopen.h: Likewise. * lib/userspec.h: Likewise. --- ChangeLog | 16 ++++++++++++++++ lib/dev-ino.h | 18 ++++++++++++++++++ lib/di-set.h | 18 ++++++++++++++++++ lib/fchown-stub.c | 18 ++++++++++++++++++ lib/file-set.h | 18 ++++++++++++++++++ lib/hash-triple.h | 18 ++++++++++++++++++ lib/idcache.h | 18 ++++++++++++++++++ lib/ino-map.h | 18 ++++++++++++++++++ lib/mkancesdirs.h | 18 ++++++++++++++++++ lib/scratch_buffer.h | 18 ++++++++++++++++++ lib/se-context.in.h | 18 ++++++++++++++++++ lib/stdopen.h | 18 ++++++++++++++++++ lib/userspec.h | 18 ++++++++++++++++++ 13 files changed, 232 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0c8c075102..44d60f7df0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2020-07-05 Bruno Haible + + Add some copyright headers. + * lib/dev-ino.h: Add copyright header. + * lib/di-set.h: Likewise. + * lib/fchown-stub.c: Likewise. + * lib/file-set.h: Likewise. + * lib/hash-triple.h: Likewise. + * lib/idcache.h: Likewise. + * lib/ino-map.h: Likewise. + * lib/mkancesdirs.h: Likewise. + * lib/scratch_buffer.h: Likewise. + * lib/se-context.in.h: Likewise. + * lib/stdopen.h: Likewise. + * lib/userspec.h: Likewise. + 2020-07-04 Bruno Haible getrandom: Relicense under LGPLv2+. diff --git a/lib/dev-ino.h b/lib/dev-ino.h index 695d38c7bb..7b62d48c22 100644 --- a/lib/dev-ino.h +++ b/lib/dev-ino.h @@ -1,3 +1,21 @@ +/* A simple (device, inode) struct. + Copyright (C) 2003-2020 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Jim Meyering, 2003. */ + #ifndef DEV_INO_H # define DEV_INO_H 1 diff --git a/lib/di-set.h b/lib/di-set.h index bec5b3f9e4..743bc7d007 100644 --- a/lib/di-set.h +++ b/lib/di-set.h @@ -1,3 +1,21 @@ +/* Manipulate sets of device-inode pairs efficiently. + Copyright (C) 2010-2020 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Jim Meyering, 2010. */ + #ifndef _GL_DI_SET_H # define _GL_DI_SET_H diff --git a/lib/fchown-stub.c b/lib/fchown-stub.c index 62b6969084..65be66ef3b 100644 --- a/lib/fchown-stub.c +++ b/lib/fchown-stub.c @@ -1,3 +1,21 @@ +/* Change ownership of a file. + Copyright (C) 2004-2020 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Paul Eggert, 2004. */ + #include #include diff --git a/lib/file-set.h b/lib/file-set.h index 4e47d95a1f..244951f56f 100644 --- a/lib/file-set.h +++ b/lib/file-set.h @@ -1,3 +1,21 @@ +/* Very specialized set-of-files code. + Copyright (C) 2007-2020 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Jim Meyering, 2007. */ + #include #include #include diff --git a/lib/hash-triple.h b/lib/hash-triple.h index 0658d8170f..c65450e62b 100644 --- a/lib/hash-triple.h +++ b/lib/hash-triple.h @@ -1,3 +1,21 @@ +/* Hash functions for file-related (name, device, inode) triples. + Copyright (C) 2007-2020 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Jim Meyering, 2007. */ + #ifndef HASH_TRIPLE_H #define HASH_TRIPLE_H diff --git a/lib/idcache.h b/lib/idcache.h index e7573b83f7..012c79244d 100644 --- a/lib/idcache.h +++ b/lib/idcache.h @@ -1,3 +1,21 @@ +/* Username <--> uid and groupname <--> gid conversions, with cache for speed. + Copyright (C) 2007-2020 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Jim Meyering, 2007. */ + #ifndef IDCACHE_H # define IDCACHE_H 1 diff --git a/lib/ino-map.h b/lib/ino-map.h index 1bdf886f46..9f7d5e82fa 100644 --- a/lib/ino-map.h +++ b/lib/ino-map.h @@ -1,3 +1,21 @@ +/* Maintain a mapping of ino_t numbers to small integers. + Copyright (C) 2010-2020 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Paul Eggert, 2010. */ + #ifndef _GL_INO_MAP_H # define _GL_INO_MAP_H diff --git a/lib/mkancesdirs.h b/lib/mkancesdirs.h index fdfd654410..6a9d1e0407 100644 --- a/lib/mkancesdirs.h +++ b/lib/mkancesdirs.h @@ -1,3 +1,21 @@ +/* Ensure the existence of the ancestor directories of a file. + Copyright (C) 2006-2020 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Paul Eggert, 2006. */ + #include #ifdef __cplusplus diff --git a/lib/scratch_buffer.h b/lib/scratch_buffer.h index 4c0db3e53b..0b45f92c10 100644 --- a/lib/scratch_buffer.h +++ b/lib/scratch_buffer.h @@ -1,3 +1,21 @@ +/* Variable-sized buffer with on-stack default allocation. + Copyright (C) 2017-2020 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Paul Eggert, 2017. */ + #ifndef _GL_SCRATCH_BUFFER_H #define _GL_SCRATCH_BUFFER_H diff --git a/lib/se-context.in.h b/lib/se-context.in.h index c3890a2bf3..5306937ca8 100644 --- a/lib/se-context.in.h +++ b/lib/se-context.in.h @@ -1,3 +1,21 @@ +/* SELinux-related headers. + Copyright (C) 2007-2020 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Jim Meyering, 2007. */ + #ifndef SELINUX_CONTEXT_H # define SELINUX_CONTEXT_H diff --git a/lib/stdopen.h b/lib/stdopen.h index 27901d397c..ccc62a0c0c 100644 --- a/lib/stdopen.h +++ b/lib/stdopen.h @@ -1,3 +1,21 @@ +/* Arrange for stdin/stdout/stderr to be open. + Copyright (C) 2005-2020 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Jim Meyering, 2005. */ + #ifndef STDOPEN_H # define STDOPEN_H 1 diff --git a/lib/userspec.h b/lib/userspec.h index 67af8451bf..e20c390529 100644 --- a/lib/userspec.h +++ b/lib/userspec.h @@ -1,3 +1,21 @@ +/* Parse a 'user:group' specifier (e.g. the first argument of chown utility). + Copyright (C) 2003-2020 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Jim Meyering, 2003. */ + #ifndef USERSPEC_H # define USERSPEC_H 1 -- 2.39.5