Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/systemd-251/src/test/
Dtest-rlimit-util.c103 struct rlimit old, new, high; in TEST() local
112 new.rlim_cur = MIN(5U, old.rlim_max); in TEST()
113 new.rlim_max = old.rlim_max; in TEST()
114 assert_se(setrlimit(RLIMIT_NOFILE, &new) >= 0); in TEST()
121 assert_se(getrlimit(RLIMIT_NOFILE, &new) == 0); in TEST()
122 assert_se(old.rlim_cur == new.rlim_cur); in TEST()
123 assert_se(old.rlim_max == new.rlim_max); in TEST()
128 assert_se(getrlimit(RLIMIT_NOFILE, &new) == 0); in TEST()
129 assert_se(new.rlim_max == old.rlim_max); in TEST()
130 assert_se(new.rlim_cur == new.rlim_max); in TEST()
[all …]
Dtest-alloc-util.c144 …assert_se(p1 = new(uint8_t, 4703)); /* use prime size, to ensure that there will be free space at … in TEST()
146 assert_se(p2 = new(uint8_t, 4703)); in TEST()
180 assert_se(f = new(uint32_t, n)); in TEST()
189 assert_se(g = new(uint64_t, m)); in TEST()
/systemd-251/test/units/
Dtestsuite-04.sh24 ID=$(journalctl --new-id128 | sed -n 2p)
31 ID=$(journalctl --new-id128 | sed -n 2p)
39 ID=$(journalctl --new-id128 | sed -n 2p)
46 ID=$(journalctl --new-id128 | sed -n 2p)
54 ID=$(journalctl --new-id128 | sed -n 2p)
61 ID=$(journalctl --new-id128 | sed -n 2p)
69 ID=$(journalctl --new-id128 | sed -n 2p)
93 ID=$(systemd-id128 new)
106 ID=$(journalctl --new-id128 | sed -n 2p)
Dtestsuite-22.03.sh102 F /tmp/F/created-with-content 0644 - - - new content
104 F /tmp/F/truncated-with-content 0666 daemon daemon - new content
193 w /tmp/w/unexistent 0644 - - - new content
211 w /tmp/w/overwritten 0644 - - - new content
227 w /dev/null - - - - new content
/systemd-251/
DNEWS28 thus the usual procedure of adding a new set of methods was skipped,
52 compatibility with systems running older systemd systems a new meson
54 If enabled, the measurement is done twice: into the new-style PCR 12
90 entries, via the new /etc/kernel/entry-token file or the new
120 * kernel-install supports a new initrd_generator= setting in
141 the new field sort-key= are sorted by it first, and all entries
145 * The kernel-install tool gained a new 'inspect' verb which shows the
158 * 'bootctl list' gained support for a new --json= switch to output boot
162 omit output with the new option --quiet.
202 * A new libsystemd-core-<version>.so private shared library is
[all …]
/systemd-251/src/boot/efi/
Dgraphics.c16 EFI_CONSOLE_CONTROL_SCREEN_MODE new; in graphics_mode() local
33 new = on ? EfiConsoleControlScreenGraphics : EfiConsoleControlScreenText; in graphics_mode()
34 if (new == current) in graphics_mode()
37 err =ConsoleControl->SetMode(ConsoleControl, new); in graphics_mode()
/systemd-251/src/basic/
Dstrbuf.c32 str = new(struct strbuf, 1); in strbuf_new()
86 struct strbuf_child_entry new = { in bubbleinsert() local
94 if (strbuf_children_cmp(&node->children[middle], &new) <= 0) in bubbleinsert()
102 node->children[left] = new; in bubbleinsert()
162 node_child = new(struct strbuf_node, 1); in strbuf_add_string()
Descape.c88 r = new(char, n*4 + 1); in cescape_length()
306 ans = new(char, pl+length+1); in cunescape_length_with_prefix()
378 ans = new(char, MIN(strlen(s), console_width) * 4 + 1); in xescape_full()
454 r = new(char, len * 4 + 1); in octescape()
493 buf = new(char, strlen(s)*4+1); in shell_escape()
522 buf = new(char, FLAGS_SET(flags, SHELL_ESCAPE_POSIX) + 1 + strlen(s)*4 + 1 + 1); in shell_maybe_quote()
Drecovery-key.c34 mangled = new(char, RECOVERY_KEY_MODHEX_FORMATTED_LENGTH); in normalize_recovery_key()
82 key = new(uint8_t, RECOVERY_KEY_MODHEX_RAW_LENGTH); in make_recovery_key()
91 formatted = new(char, RECOVERY_KEY_MODHEX_FORMATTED_LENGTH); in make_recovery_key()
Dbus-label.c23 r = new(char, strlen(s)*3 + 1); in bus_label_escape()
57 r = new(char, l + 1); in bus_label_unescape_n()
Dunit-name.c238 s = new(char, a + b + 1); in unit_name_change_suffix()
339 r = new(char, strlen(f)*4+1); in unit_name_escape()
478 s = new(char, a + 1 + b + strlen(e) + 1); in unit_name_replace_instance()
508 s = new(char, a + 1 + strlen(e) + 1); in unit_name_template()
749 s = new(char, strlen(name) * 4 + strlen(suffix) + 1); in unit_name_mangle_with_suffix()
835 subslice = new(char, (e - slice) + 1 + strlen(name) + 6 + 1); in slice_build_subslice()
/systemd-251/docs/
DPORTING_TO_NEW_ARCHITECTURES.md10 Here's a brief checklist of things to implement when porting systemd to a new
25 and define a new set of GPT partition type UUIDs for the root file system,
27 partitions. Use `systemd-id128 new -p` to generate new suitable UUIDs you
28 can use for this. Make sure to register your new types in the various
44 in very new glibc), and we need to know the right numbers for them. It might
DCONVERTING_TO_HOMED.md49 related files. We want to use the same data for the new record, hence it's good
89 exists safely under the `/home/foobar.saved` name. Let's now create a new
102 ante: this way your new user account will still not have the old primary
103 group as new primary group, but will have it as auxiliary group.
108 want to set for your new account. In particular, look at `--storage=` and
112 5. Your new user account exists now, but it has an empty home directory. Let's
113 now migrate your old home directory into it. For that let's mount the new
122 new. The new home directory is the working directory of the invoked `rsync`
DCONTRIBUTING.md38 … code in an existing PR, force-push into the same branch, overriding old commits with new versions.
39 * After you have pushed a new version, add a comment about the new version (no notification is sent…
56 It is fine for new features/functionality/tools/daemons to require bleeding edge external dependenc…
59 In case a new feature is added to both `systemd` and one of its dependencies, we expect the corresp…
61 Making use of new kernel syscalls can be achieved through compat wrappers in our tree (see: `src/ba…
85 always be avoided apart from the most extreme circumstances. For example, always add a new interfac…
92 `libudev.so` is a shared public library, and is still maintained, but should not gain new symbols a…
DTRANSLATORS.md15 which can be used to create new translations.
18 up new strings in need of translation.
35 Then simply copy it to a new `${lang_code}.po` file, where
46 Then edit the new `po/${lang_code}.po` file (for example,
DRELEASE.md21 12. [FINAL] Close the github milestone and open a new one (https://github.com/systemd/systemd/miles…
22 13. "Draft" a new release on github (https://github.com/systemd/systemd/releases/new), mark "This i…
/systemd-251/man/
D90-rearrange-path.py39 new = rearrange_bin_sbin(path) variable
40 if new != path:
41 print('PATH={}'.format(new))
/systemd-251/shell-completion/zsh/
D_hostnamectl7 _message "new hostname"
16 _message "new icon name"
35 _message "new environment"
44 _message "new location"
/systemd-251/src/shared/
Dformat-table.c161 t = new(Table, 1); in table_new_raw()
1405 d->formatted = new(char, strlen(d->string) + 1); in table_data_format()
1456 …p = new(char, d->type == TABLE_TIMESTAMP_RELATIVE ? FORMAT_TIMESTAMP_RELATIVE_MAX : FORMAT_TIMESTA… in table_data_format()
1477 p = new(char, FORMAT_TIMESPAN_MAX); in table_data_format()
1492 p = new(char, FORMAT_BYTES_MAX); in table_data_format()
1507 p = new(char, FORMAT_BYTES_MAX+2); in table_data_format()
1524 p = new(char, DECIMAL_STR_WIDTH(d->int_val) + 1); in table_data_format()
1536 p = new(char, DECIMAL_STR_WIDTH(d->int8) + 1); in table_data_format()
1548 p = new(char, DECIMAL_STR_WIDTH(d->int16) + 1); in table_data_format()
1560 p = new(char, DECIMAL_STR_WIDTH(d->int32) + 1); in table_data_format()
[all …]
/systemd-251/hwdb.d/
D70-joystick.hwdb18 # To add local entries, create a new file
20 # and add your rules there. To load the new rules execute (as root):
30 # include your new rules, a description of the device, and the output of
D70-touchpad.hwdb18 # To add local entries, create a new file
20 # and add your rules there. To load the new rules execute (as root):
30 # include your new rules, a description of the device, and the output of
D60-autosuspend.hwdb11 # To add local entries, create a new file
13 # and add your rules there. To load the new rules execute (as root):
21 # include your new rules, a description of the device, and the output of
D60-input-id.hwdb9 # To add local entries, create a new file
11 # and add your rules there. To load the new rules execute (as root):
21 # include your new rules, a description of the device, and the output of
/systemd-251/.semaphore/
Dsemaphore-runner.sh84 cat << EOF > debian/changelog.new
92 cat debian/changelog >>debian/changelog.new
93 mv debian/changelog.new debian/changelog
/systemd-251/src/libudev/
Dlibudev-list.c60 list = new(struct udev_list, 1); in udev_list_new()
88 entry = new(struct udev_list_entry, 1); in udev_list_entry_add()
156 buf = new(struct udev_list_entry *, n); in udev_list_get_entry()

12345678910>>...14