diff --git a/LICENSE b/LICENSE index aa39852..2bb060c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (C) 2022 Marius Schellenberger +Copyright (C) 2017 Marius Schellenberger All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/go.mod b/go.mod index c939651..a41c9af 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,3 @@ module git.giftfish.de/ston1th/godrop/v2 -go 1.19 - -require golang.org/x/sys v0.24.0 +require golang.org/x/sys v0.0.0-20181026144532-2772b66316d2 // indirect diff --git a/go.sum b/go.sum index d88e7bd..36d0abd 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -golang.org/x/sys v0.24.0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg= -golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.0.0-20181026144532-2772b66316d2 h1:W7CqTdBJ1CmxLKe7LptKDnBYV6PHrVLiGnoyBjaG/JQ= +golang.org/x/sys v0.0.0-20181026144532-2772b66316d2/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= diff --git a/godrop.go b/godrop.go index 37c7e75..55f39ec 100644 --- a/godrop.go +++ b/godrop.go @@ -1,6 +1,5 @@ -// Copyright (C) 2022 Marius Schellenberger +// Copyright (C) 2018 Marius Schellenberger -//go:build go1.11 // +build go1.11 // Package godrop provides a simple library to drop privileges on Linux and OpenBSD. diff --git a/lookup.go b/lookup.go index 725dc82..2d0e1a9 100644 --- a/lookup.go +++ b/lookup.go @@ -1,6 +1,5 @@ -// Copyright (C) 2022 Marius Schellenberger +// Copyright (C) 2018 Marius Schellenberger -//go:build go1.11 // +build go1.11 package godrop diff --git a/lookup_test.go b/lookup_test.go index 49d2a78..bdcf7bd 100644 --- a/lookup_test.go +++ b/lookup_test.go @@ -1,4 +1,4 @@ -// Copyright (C) 2022 Marius Schellenberger +// Copyright (C) 2018 Marius Schellenberger package godrop diff --git a/pledge.go b/pledge.go index 8c97aba..d0e361e 100644 --- a/pledge.go +++ b/pledge.go @@ -1,6 +1,5 @@ -// Copyright (C) 2022 Marius Schellenberger +// Copyright (C) 2018 Marius Schellenberger -//go:build !openbsd // +build !openbsd package godrop diff --git a/pledge_openbsd.go b/pledge_openbsd.go index 0af656a..7369b03 100644 --- a/pledge_openbsd.go +++ b/pledge_openbsd.go @@ -1,6 +1,5 @@ -// Copyright (C) 2022 Marius Schellenberger +// Copyright (C) 2018 Marius Schellenberger -//go:build openbsd // +build openbsd package godrop diff --git a/unveil.go b/unveil.go index 412851b..06c8c90 100644 --- a/unveil.go +++ b/unveil.go @@ -1,6 +1,5 @@ -// Copyright (C) 2022 Marius Schellenberger +// Copyright (C) 2018 Marius Schellenberger -//go:build !openbsd // +build !openbsd package godrop diff --git a/unveil_openbsd.go b/unveil_openbsd.go index f1e4bbc..f32d630 100644 --- a/unveil_openbsd.go +++ b/unveil_openbsd.go @@ -1,6 +1,5 @@ -// Copyright (C) 2022 Marius Schellenberger +// Copyright (C) 2018 Marius Schellenberger -//go:build openbsd // +build openbsd package godrop