summaryrefslogtreecommitdiff
path: root/library/include
diff options
context:
space:
mode:
authorCraig Small <csmall@dropbear.xyz>2023-02-07 21:09:48 +1100
committerCraig Small <csmall@dropbear.xyz>2023-02-07 21:09:48 +1100
commit8fcfb01a819f9b29418db34971d6813be4cb66bd (patch)
tree7f563278b3d423effaef6f3af4ec76df9c003e53 /library/include
parent5ee3dc2626fead68ef9946ae0d24a341ad13a457 (diff)
downloadprocps-ng-8fcfb01a819f9b29418db34971d6813be4cb66bd.tar.gz
misc: Update the copyrights of files
The copyrights of the source files were all out of date and were not the same format. This has been corrected. The source of the authors was examining the git log for each file. Signed-off-by: Craig Small <csmall@dropbear.xyz>
Diffstat (limited to 'library/include')
-rw-r--r--library/include/diskstats.h10
-rw-r--r--library/include/escape.h6
-rw-r--r--library/include/meminfo.h4
-rw-r--r--library/include/misc.h18
-rw-r--r--library/include/numa.h3
-rw-r--r--library/include/pids.h8
-rw-r--r--library/include/pwcache.h26
-rw-r--r--library/include/readproc.h33
-rw-r--r--library/include/slabinfo.h8
-rw-r--r--library/include/stat.h4
-rw-r--r--library/include/vmstat.h13
-rw-r--r--library/include/wchan.h21
-rw-r--r--library/include/xtra-procps-debug.h4
13 files changed, 112 insertions, 46 deletions
diff --git a/library/include/diskstats.h b/library/include/diskstats.h
index 94ac470..04785df 100644
--- a/library/include/diskstats.h
+++ b/library/include/diskstats.h
@@ -1,10 +1,10 @@
/*
- * diskstat.c - disk I/O related declarations for libprocps
+ * diskstats.c - disk I/O related declarations for libprocps
*
- * Copyright (c) 2003 Fabian Frederick
- * Copyright (C) 2003 Albert Cahalan
- * Copyright (C) 2015 Craig Small <csmall@dropbear.xyz>
- * Copyright (C) 2016-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2015-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2003 Albert Cahalan
+ * Copyright © 2003 Fabian Frederick
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/library/include/escape.h b/library/include/escape.h
index 70dd81c..1f0b0f9 100644
--- a/library/include/escape.h
+++ b/library/include/escape.h
@@ -1,7 +1,9 @@
/*
* escape.h - printing handling
- * Copyright 1998-2002 by Albert Cahalan
- * Copyright 2020-2022 Jim Warner <james.warner@comcast.net>
+ *
+ * Copyright © 2011-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2016-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 1998-2005 Albert Cahalan
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/library/include/meminfo.h b/library/include/meminfo.h
index 1913abd..3402944 100644
--- a/library/include/meminfo.h
+++ b/library/include/meminfo.h
@@ -1,8 +1,8 @@
/*
* meminfo.h - memory related declarations for libprocps
*
- * Copyright (C) 2015 Craig Small <csmall@dropbear.xyz>
- * Copyright (C) 2016-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2016-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/library/include/misc.h b/library/include/misc.h
index 078aba5..c913571 100644
--- a/library/include/misc.h
+++ b/library/include/misc.h
@@ -1,14 +1,14 @@
/*
- * libprocps - Library to read proc filesystem
+ * libproc2 - Library to read proc filesystem
*
- * Copyright 1992-1998 Michael K. Johnson <johnsonm@redhat.com>
- * Copyright ???? Larry Greenfield <greenfie@gauss.rutgers.edu>
- * Copyright 1993 J. Cowley
- * Copyright 1995 Martin Schulze <joey@infodrom.north.de>
- * Copyright 1996 Charles Blake <cblake@bbn.com>
- * Copyright 1998-2003 Albert Cahalan
- * Copyright 2015 Craig Small <csmall@dropbear.xyz>
- * Copyright 2021-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2021-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 1998-2003 Albert Cahalan
+ * Copyright © 1992-1998 Michael K. Johnson <johnsonm@redhat.com>
+ * Copyright © 1996 Charles Blake <cblake@bbn.com>
+ * Copyright © 1993 J. Cowley
+ * Copyright © 1995 Martin Schulze <joey@infodrom.north.de>
+ * Copyright © ???? Larry Greenfield <greenfie@gauss.rutgers.edu>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/library/include/numa.h b/library/include/numa.h
index 08b9855..419eb27 100644
--- a/library/include/numa.h
+++ b/library/include/numa.h
@@ -1,6 +1,7 @@
/*
* NUMA node support for <PIDS> & <STAT> interfaces
- * Copyright 2017-2022 by James C. Warmer
+ *
+ * Copyright © 2017-2023 Jim Warner <james.warner@comcast.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/library/include/pids.h b/library/include/pids.h
index 60df413..01dc1ac 100644
--- a/library/include/pids.h
+++ b/library/include/pids.h
@@ -1,9 +1,9 @@
/*
- * pids.h - process related declarations for libprocps
+ * pids.h - process related declarations for libproc2
*
- * Copyright (C) 1998-2005 Albert Cahalan
- * Copyright (C) 2015 Craig Small <csmall@dropbear.xyz>
- * Copyright (C) 2015-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 1998-2005 Albert Cahalan
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/library/include/pwcache.h b/library/include/pwcache.h
index e1bf0e8..524a2af 100644
--- a/library/include/pwcache.h
+++ b/library/include/pwcache.h
@@ -1,3 +1,29 @@
+/*
+ * pwcache.c - memory cache passwd file handling
+ *
+ * Copyright © 2011-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2002 Albert Cahalan
+ *
+ * Older version:
+ * Copyright © 1992-1998 Michael K. Johnson <johnsonm@redhat.com>
+ * Note: most likely none of his code remains
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
#ifndef PROCPS_PROC_PWCACHE_H
#define PROCPS_PROC_PWCACHE_H
diff --git a/library/include/readproc.h b/library/include/readproc.h
index e5fe1e7..33c630e 100644
--- a/library/include/readproc.h
+++ b/library/include/readproc.h
@@ -1,15 +1,30 @@
+/*
+ * readproc - interface to process table
+ *
+ * Copyright © 2002-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2011-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 1998-2010 Albert Cahalan
+ * Copyright © 1998 Michael K. Johnson
+ * Copyright © 1996 Charles L. Blake.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
#ifndef PROCPS_PROC_READPROC_H
#define PROCPS_PROC_READPROC_H
-// New Interface to Process Table -- PROCTAB Stream (a la Directory streams)
-// Copyright 1996 Charles L. Blake.
-// Copyright 1998 Michael K. Johnson
-// Copyright 1998-2003 Albert Cahalan
-// May be distributed under the terms of the
-// GNU Library General Public License, a copy of which is provided
-// in the file COPYING
-
-
#include <sys/types.h>
#include <dirent.h>
#include <unistd.h>
diff --git a/library/include/slabinfo.h b/library/include/slabinfo.h
index 293e888..8bbf350 100644
--- a/library/include/slabinfo.h
+++ b/library/include/slabinfo.h
@@ -1,9 +1,9 @@
/*
- * slabinfo.h - slab pools related declarations for libprocps
+ * slabinfo.h - slab pools related declarations for libproc2
*
- * Copyright (C) 1998-2005 Albert Cahalan
- * Copyright (C) 2015 Craig Small <csmall@dropbear.xyz>
- * Copyright (C) 2016-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2011-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 1998-2006 Albert Cahalan
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/library/include/stat.h b/library/include/stat.h
index 8b0f9d7..8aa9e0e 100644
--- a/library/include/stat.h
+++ b/library/include/stat.h
@@ -1,8 +1,8 @@
/*
* stat.h - cpu/numa related declarations for libprocps
*
- * Copyright (C) 2015 Craig Small <csmall@dropbear.xyz>
- * Copyright (C) 2015-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/library/include/vmstat.h b/library/include/vmstat.h
index b11f9f9..43b82c5 100644
--- a/library/include/vmstat.h
+++ b/library/include/vmstat.h
@@ -1,11 +1,12 @@
/*
- * vmstat,c - virtual memory related declarations for libprocps
+ * vmstat.c - virtual memory related declarations for libproc2
*
- * Copyright (C) 1995 Martin Schulze <joey@infodrom.north.de>
- * Copyright (C) 1996 Charles Blake <cblake@bbn.com>
- * Copyright (C) 2003 Albert Cahalan
- * Copyright (C) 2015 Craig Small <csmall@dropbear.xyz>
- * Copyright (C) 2016-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2016-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2011-2012 Sami Kerola <kerolasa@iki.fi>
+ * Copyright © 2003 Albert Cahalan
+ * Copyright © 1996 Charles Blake <cblake@bbn.com>
+ * Copyright © 1995 Martin Schulze <joey@infodrom.north.de>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/library/include/wchan.h b/library/include/wchan.h
index f2a184a..ef1d689 100644
--- a/library/include/wchan.h
+++ b/library/include/wchan.h
@@ -1,3 +1,24 @@
+/*
+ * wchan.c - kernel symbol handling
+ *
+ * Copyright © 2015-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 1998-2003 Albert Cahalan
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
#ifndef PROCPS_PROC_WCHAN_H
#define PROCPS_PROC_WCHAN_H
diff --git a/library/include/xtra-procps-debug.h b/library/include/xtra-procps-debug.h
index 070a484..ead8075 100644
--- a/library/include/xtra-procps-debug.h
+++ b/library/include/xtra-procps-debug.h
@@ -1,7 +1,7 @@
/*
- * libprocps - Library to read proc filesystem
+ * libproc2 - Library to read proc filesystem
*
- * Copyright (C) 2016-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2016-2023 Jim Warner <james.warner@comcast.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public