Go to file
deraadt 9b4148b12c For open/openat, if the flags parameter does not contain O_CREAT, the
3rd (variadic) mode_t parameter is irrelevant.  Many developers in the past
have passed mode_t (0, 044, 0644, or such), which might lead future people
to copy this broken idiom, and perhaps even believe this parameter has some
meaning or implication or application. Delete them all.
This comes out of a conversation where tb@ noticed that a strange (but
intentional) pledge behaviour is to always knock-out high-bits from
mode_t on a number of system calls as a safety factor, and his bewilderment
that this appeared to be happening against valid modes (at least visually),
but no sorry, they are all irrelevant junk.  They could all be 0xdeafbeef.
ok millert
2021-10-24 21:24:17 +00:00
alerts.c Add a flag to disable keys to close a message, GitHub issue 2625. 2021-04-12 09:36:12 +00:00
arguments.c Keep -? as usage. 2021-09-09 21:55:03 +00:00
attributes.c Add an attribute for ACS. 2020-05-16 14:13:37 +00:00
cfg.c Stop caring about empty commands, just treat as a null command. 2021-08-21 17:25:32 +00:00
client.c Replace %% in command lists (by copying them) for template arguments , 2021-08-27 17:25:55 +00:00
cmd-attach-session.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-bind-key.c Replace %% in command lists (by copying them) for template arguments , 2021-08-27 17:25:55 +00:00
cmd-break-pane.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-capture-pane.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-choose-tree.c Replace %% in command lists (by copying them) for template arguments , 2021-08-27 17:25:55 +00:00
cmd-command-prompt.c Fix command prompt with multiple prompts (add the result onto the list 2021-09-22 15:21:44 +00:00
cmd-confirm-before.c Expand argument to run-shell again. 2021-09-09 13:38:32 +00:00
cmd-copy-mode.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-detach-client.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-display-menu.c Add -T to set a popup title, from Alexis Hildebrandt in GitHub issue 2941. 2021-10-20 09:50:40 +00:00
cmd-display-message.c Handle splitw -I correctly when used from an attached client, GitHub 2021-10-07 07:52:13 +00:00
cmd-display-panes.c Validate command argument types (string or command list) and give more 2021-08-25 08:51:55 +00:00
cmd-find-window.c Preserve argument type in command and convert to string on demand. 2021-08-21 20:46:43 +00:00
cmd-find.c Add a client flag 'active-pane' which stores the active pane in the 2020-05-16 16:20:59 +00:00
cmd-has-session.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-if-shell.c Add -e flag to set environment for popup, from Alexis Hildebrandt in 2021-10-11 10:55:30 +00:00
cmd-join-pane.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-kill-pane.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-kill-server.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-kill-session.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-kill-window.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-list-buffers.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-list-clients.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-list-keys.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-list-panes.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-list-sessions.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-list-windows.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-list.c Merge cmd_list_parse into cmd-parse.y so it can use the new alias 2019-05-25 07:18:20 +00:00
cmd-load-buffer.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-lock-server.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-move-window.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-new-session.c Replace %% in command lists (by copying them) for template arguments , 2021-08-27 17:25:55 +00:00
cmd-new-window.c Replace %% in command lists (by copying them) for template arguments , 2021-08-27 17:25:55 +00:00
cmd-parse.y Disable aliases inside aliases for the moment. 2021-09-10 08:52:46 +00:00
cmd-paste-buffer.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-pipe-pane.c For open/openat, if the flags parameter does not contain O_CREAT, the 2021-10-24 21:24:17 +00:00
cmd-queue.c Stop caring about empty commands, just treat as a null command. 2021-08-21 17:25:32 +00:00
cmd-refresh-client.c Allow control mode clients to set a hard limit on the window width and 2021-08-27 17:15:57 +00:00
cmd-rename-session.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-rename-window.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-resize-pane.c Rename a member to match what it will be in future. 2021-08-21 10:28:05 +00:00
cmd-resize-window.c Allow control mode clients to set a hard limit on the window width and 2021-08-27 17:15:57 +00:00
cmd-respawn-pane.c Replace %% in command lists (by copying them) for template arguments , 2021-08-27 17:25:55 +00:00
cmd-respawn-window.c Replace %% in command lists (by copying them) for template arguments , 2021-08-27 17:25:55 +00:00
cmd-rotate-window.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-run-shell.c Add -e flag to set environment for popup, from Alexis Hildebrandt in 2021-10-11 10:55:30 +00:00
cmd-save-buffer.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-select-layout.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-select-pane.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-select-window.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-send-keys.c Same as -N, don't send if 0 arguments and -R. 2021-10-19 12:51:43 +00:00
cmd-send-prefix.c Make command exec functions return an enum rather than -1/0/1 values and 2012-07-11 07:10:15 +00:00
cmd-set-buffer.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-set-environment.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-set-option.c Validate command argument types (string or command list) and give more 2021-08-25 08:51:55 +00:00
cmd-show-buffer.c Make command exec functions return an enum rather than -1/0/1 values and 2012-07-11 07:10:15 +00:00
cmd-show-environment.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-show-messages.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-show-options.c Show error if user option doesn't exist, GitHub issue 2938. 2021-10-21 08:23:48 +00:00
cmd-show-prompt-history.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-source-file.c Fix a few memory leaks. 2021-08-23 11:04:21 +00:00
cmd-split-window.c Handle splitw -I correctly when used from an attached client, GitHub 2021-10-07 07:52:13 +00:00
cmd-swap-pane.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-swap-window.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-switch-client.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-unbind-key.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd-wait-for.c Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
cmd.c Keep -? as usage. 2021-09-09 21:55:03 +00:00
colour.c Do not use NULL palette when clearing. 2021-08-14 14:00:07 +00:00
control-notify.c Add client-detached notification in control mode, from Mohsin Kaleem. 2021-03-16 09:14:58 +00:00
control.c Fix up some printflike attributes. 2021-08-25 07:09:30 +00:00
environ.c Allow fnmatch(3) wildcards in update-environment, GitHub issue 2397. 2020-10-07 08:23:55 +00:00
file.c Do not double free expanded path in source-file, also remove some 2021-08-22 13:48:29 +00:00
format-draw.c Fix handling of leading #s when working out width. 2021-08-22 15:33:14 +00:00
format.c Add -e flag to set environment for popup, from Alexis Hildebrandt in 2021-10-11 10:55:30 +00:00
grid-reader.c More accurate vi(1) word navigation in copy mode and on the status line. 2021-06-10 07:56:47 +00:00
grid-view.c Move the code to set up a padding cell into grid.c. 2020-06-02 20:51:46 +00:00
grid.c Send Unicode directional isolate characters around horizontal pane 2021-02-05 12:29:18 +00:00
input-keys.c Remove stray spaces after function names. 2021-08-20 17:50:42 +00:00
input.c Separate "very visible" flag from blinking flag, it should not affect 2021-10-05 12:46:02 +00:00
job.c For open/openat, if the flags parameter does not contain O_CREAT, the 2021-10-24 21:24:17 +00:00
key-bindings.c Replace %% in command lists (by copying them) for template arguments , 2021-08-27 17:25:55 +00:00
key-string.c Pass Ctrl keys through as is when given as hex, GitHub issue 2724. 2021-06-16 08:37:58 +00:00
layout-custom.c Add split-window -Z to start the pane zoomed, GitHub issue 2591. 2021-03-11 06:31:05 +00:00
layout-set.c Add split-window -Z to start the pane zoomed, GitHub issue 2591. 2021-03-11 06:31:05 +00:00
layout.c Add split-window -Z to start the pane zoomed, GitHub issue 2591. 2021-03-11 06:31:05 +00:00
log.c Do fatal/fatalx a different way so the compiler trick to avoid warnings 2021-09-10 15:03:18 +00:00
Makefile Add different command historys for different types of prompts 2021-06-10 07:50:03 +00:00
menu.c Remove key and trim text if menu cannot fit in available space, based on 2021-10-22 17:12:50 +00:00
mode-key.c Drop the edit mode key tables and just use fixed key bindings for the 2016-10-12 14:50:14 +00:00
mode-tree.c Add -T to set a popup title, from Alexis Hildebrandt in GitHub issue 2941. 2021-10-20 09:50:40 +00:00
names.c Remove stray spaces after function names. 2021-08-20 17:50:42 +00:00
notify.c Do not dereference pane when it is NULL, fixes a crash when creating a 2021-08-12 08:10:20 +00:00
options-table.c Add popup-border-lines option to set popup line style, from Alexis 2021-10-14 13:19:01 +00:00
options.c Add popup-border-lines option to set popup line style, from Alexis 2021-10-14 13:19:01 +00:00
paste.c Use VIS_CSTYLE for paste buffers also. 2020-05-16 15:35:19 +00:00
popup.c Remove a TODO comment. 2021-10-20 09:52:27 +00:00
proc.c Add a couple of helper functions, and flush imsgs on exit. 2021-02-11 09:39:29 +00:00
procname.c Restore pane_current_path format from portable tmux, it is no longer 2020-04-08 11:26:07 +00:00
regsub.c Some minor style nits. 2020-04-09 14:23:34 +00:00
resize.c Allow control mode clients to set a hard limit on the window width and 2021-08-27 17:15:57 +00:00
screen-redraw.c Add popup-border-lines option to set popup line style, from Alexis 2021-10-14 13:19:01 +00:00
screen-write.c Add -T to set a popup title, from Alexis Hildebrandt in GitHub issue 2941. 2021-10-20 09:50:40 +00:00
screen.c Separate "very visible" flag from blinking flag, it should not affect 2021-10-05 12:46:02 +00:00
server-client.c Make positions hidden by overlays range-based rather than character-based, 2021-10-11 13:27:50 +00:00
server-fn.c Set the right session if detach-on-destroy is off. 2021-08-17 16:19:00 +00:00
server.c Fix warnings, from Jan Tache in GitHub issue 2692. 2021-06-10 07:45:43 +00:00
session.c Do not destroy sessions twice, GitHub issue 2889. 2021-09-17 07:20:49 +00:00
spawn.c Fix a few memory leaks. 2021-08-23 11:04:21 +00:00
status.c Remove stray spaces after function names. 2021-08-20 17:50:42 +00:00
style.c Make newline a style delimiter as well so they can cross multiple lines 2021-08-12 20:46:30 +00:00
tmux-protocol.h Break message type stuff out into its own header. 2021-08-13 07:37:58 +00:00
tmux.1 Add -T to set a popup title, from Alexis Hildebrandt in GitHub issue 2941. 2021-10-20 09:50:40 +00:00
tmux.c Fix a few memory leaks. 2021-08-23 11:04:21 +00:00
tmux.h Add -T to set a popup title, from Alexis Hildebrandt in GitHub issue 2941. 2021-10-20 09:50:40 +00:00
tty-acs.c Spacing fixes from Alexis Hildebrandt. 2021-10-18 09:15:56 +00:00
tty-features.c Feature for the mouse since FreeBSD termcap does not have kmous. 2021-06-10 07:59:08 +00:00
tty-keys.c Correctly adjust the end pointer for a two character terminator before 2021-10-21 08:36:51 +00:00
tty-term.c setupterm needs char * not const char * on some platforms. 2021-08-25 07:37:20 +00:00
tty.c When checking ranges in tty_cmd_cells, cannot use the tty cursor 2021-10-14 09:54:51 +00:00
utf8.c More accurate vi(1) word navigation in copy mode and on the status line. 2021-06-10 07:56:47 +00:00
window-buffer.c Hide struct args behind a couple of accessor functions. 2021-08-20 19:50:16 +00:00
window-client.c Hide struct args behind a couple of accessor functions. 2021-08-20 19:50:16 +00:00
window-clock.c Do not hoke into struct window_pane from the tty code and instead set 2020-05-16 15:34:08 +00:00
window-copy.c Add -e flag to set environment for popup, from Alexis Hildebrandt in 2021-10-11 10:55:30 +00:00
window-customize.c Stop caring about empty commands, just treat as a null command. 2021-08-21 17:25:32 +00:00
window-tree.c Add -T to set a popup title, from Alexis Hildebrandt in GitHub issue 2941. 2021-10-20 09:50:40 +00:00
window.c Handle splitw -I correctly when used from an attached client, GitHub 2021-10-07 07:52:13 +00:00
xmalloc.c Add xrecallocarray. 2019-11-28 09:51:58 +00:00
xmalloc.h Fix up some printflike attributes. 2021-08-25 07:09:30 +00:00
xterm-keys.c Up to now, tmux sees \033\033[OA as M-Up and since we turned on 2017-05-07 21:25:59 +00:00