aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-01-10 08:38:15 +0000
committerRon Yorston <rmy@pobox.com>2019-01-10 08:38:15 +0000
commitf99a280743e877c14ee90a3f9e93a34ca3476a27 (patch)
tree60ca3d17596e190c8c7cbca587168946598bee8a /include
parent40d5dd07ea1f290eaed30a03fd598e33a8eaf495 (diff)
parent6ca8e347fed8c24655df692f22694baf7c572770 (diff)
downloadbusybox-w32-f99a280743e877c14ee90a3f9e93a34ca3476a27.tar.gz
busybox-w32-f99a280743e877c14ee90a3f9e93a34ca3476a27.tar.bz2
busybox-w32-f99a280743e877c14ee90a3f9e93a34ca3476a27.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index dc1c81865..1b5994357 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -579,6 +579,8 @@ void sig_unblock(int sig) FAST_FUNC;
579int sigaction_set(int sig, const struct sigaction *act) FAST_FUNC; 579int sigaction_set(int sig, const struct sigaction *act) FAST_FUNC;
580/* SIG_BLOCK/SIG_UNBLOCK all signals: */ 580/* SIG_BLOCK/SIG_UNBLOCK all signals: */
581int sigprocmask_allsigs(int how) FAST_FUNC; 581int sigprocmask_allsigs(int how) FAST_FUNC;
582/* Return old set in the same set: */
583int sigprocmask2(int how, sigset_t *set) FAST_FUNC;
582#else 584#else
583#define bb_signals(s, f) 585#define bb_signals(s, f)
584#define kill_myself_with_sig(s) 586#define kill_myself_with_sig(s)
@@ -1835,7 +1837,7 @@ enum {
1835 FOR_SHELL = DO_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION, 1837 FOR_SHELL = DO_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION,
1836}; 1838};
1837line_input_t *new_line_input_t(int flags) FAST_FUNC; 1839line_input_t *new_line_input_t(int flags) FAST_FUNC;
1838/* So far static: void free_line_input_t(line_input_t *n) FAST_FUNC; */ 1840void free_line_input_t(line_input_t *n) FAST_FUNC;
1839/* 1841/*
1840 * maxsize must be >= 2. 1842 * maxsize must be >= 2.
1841 * Returns: 1843 * Returns:
@@ -1875,7 +1877,12 @@ struct smaprec {
1875 unsigned long stack; 1877 unsigned long stack;
1876 unsigned long smap_pss, smap_swap; 1878 unsigned long smap_pss, smap_swap;
1877 unsigned long smap_size; 1879 unsigned long smap_size;
1878 unsigned long smap_start; 1880 // For mixed 32/64 userspace, 32-bit pmap still needs
1881 // 64-bit field here to correctly show 64-bit processes:
1882 unsigned long long smap_start;
1883 // (strictly speaking, other fields need to be wider too,
1884 // but they are in kbytes, not bytes, and they hold sizes,
1885 // not start addresses, sizes tend to be less than 4 terabytes)
1879 char smap_mode[5]; 1886 char smap_mode[5];
1880 char *smap_name; 1887 char *smap_name;
1881}; 1888};