k3s/pkg/util
Yifan Gu a489bd2674 pkg/util/flock: Fix the flock so it actually locks.
With this PR, the second call to `Acquire()` will block unless the lock is released (process exits).
Also removed the memory mutex in the previous code since we don't need `Release()` here so no need to save and protect the local fd.

Fix #42929.
2017-03-13 14:24:59 -07:00
..
async Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
bandwidth teach kubenet to use annotation instead of pod object for traffic shaper 2017-02-27 10:11:09 -08:00
chmod Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
chown Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
config Update generated files 2017-01-24 20:56:03 +01:00
configz Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
crlf Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
dbus Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
ebtables Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
env Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
errors add back just enough empty packages to allow heapster cycles to succeed 2017-01-17 08:07:30 -05:00
exec Add support for attacher/detacher interface in Flex volume 2017-02-24 20:18:06 -05:00
flock pkg/util/flock: Fix the flock so it actually locks. 2017-03-13 14:24:59 -07:00
framer add back just enough empty packages to allow heapster cycles to succeed 2017-01-17 08:07:30 -05:00
goroutinemap OWNERS: Update latest OWNERS files 2017-01-23 10:05:48 -08:00
hash Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
i18n Update extraction script, sort messages, add .pot file. 2017-02-23 18:53:00 +00:00
initsystem Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
interrupt Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
intstr move util/intstr to apimachinery 2017-01-30 12:46:59 -05:00
io Update generated files 2017-01-29 21:41:45 +01:00
ipconfig Fix DNS suffix search list issue for Windows container and workaround in kube-proxy. 2017-02-27 19:25:46 -08:00
iptables pkg/util/iptables missing unit tests 2017-01-20 10:50:45 +01:00
json add back just enough empty packages to allow heapster cycles to succeed 2017-01-17 08:07:30 -05:00
keymutex Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
labels Create meta/internalversion for ListOptions 2017-01-23 16:53:18 -05:00
limitwriter Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
logs start the apimachinery repo 2017-01-11 09:09:48 -05:00
maps Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
metrics move authoritative client-go utils out of pkg 2017-01-24 08:59:18 -05:00
mount Merge pull request #41944 from jingxu97/Feb/mounter 2017-02-28 09:20:21 -08:00
net add back just enough empty packages to allow heapster cycles to succeed 2017-01-17 08:07:30 -05:00
netsh cleanup proxier 2017-02-27 16:00:49 -08:00
node Update generated files 2017-01-25 19:49:45 +01:00
oom Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
parsers Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
procfs Fix regex match doc of procfs.PidOf 2017-02-13 23:10:14 +08:00
rand move pkg/util/rand 2017-01-16 16:04:03 -05:00
resourcecontainer Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
rlimit Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
runtime add back just enough empty packages to allow heapster cycles to succeed 2017-01-17 08:07:30 -05:00
selinux Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
sets add back just enough empty packages to allow heapster cycles to succeed 2017-01-17 08:07:30 -05:00
slice move pkg/util/rand 2017-01-16 16:04:03 -05:00
strings Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
sysctl Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
system refactor: use metav1.ObjectMeta in other types 2017-01-17 16:17:19 -05:00
tail Limit the size of the termination log and allow log input 2017-01-23 12:26:38 -05:00
taints make kubectl respect taint effect NoExecute 2017-02-26 22:41:57 +08:00
term start the apimachinery repo 2017-01-11 09:09:48 -05:00
threading Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
uuid Update generated files 2017-01-25 19:49:45 +01:00
validation add back just enough empty packages to allow heapster cycles to succeed 2017-01-17 08:07:30 -05:00
version Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
wait add back just enough empty packages to allow heapster cycles to succeed 2017-01-17 08:07:30 -05:00
workqueue/prometheus move workqueue to client-go 2017-01-30 09:08:21 -05:00
yaml add back just enough empty packages to allow heapster cycles to succeed 2017-01-17 08:07:30 -05:00
BUILD Fix DNS suffix search list issue for Windows container and workaround in kube-proxy. 2017-02-27 19:25:46 -08:00
doc.go
template.go
template_test.go
umask.go
umask_windows.go delete ErrorTimeout() function and modify Umask() args 2017-01-12 11:05:30 +08:00
util.go
util_test.go pkg/util: move CompileRegex helper into apiserver 2017-01-25 17:21:12 +01:00