cy18

Results 16 comments of cy18

又搜了下,发现是0.9.12添加的第三条新功能,看了下源码,好像没有提供关闭的选项? 小狼毫 0.9.12 用 Shift+Del 刪除已記入用戶詞典的詞條,詳見 Issue 117 可選用Shift或Control爲中西文切換鍵,詳見 Issue 133 數字後的句號鍵識別爲小數點、冒號鍵識別爲時分秒分隔符 解決在QQ等應用程序中的定位問題 支持設置爲系統默認輸入法 支持多個Windows用戶(新用戶執行一次佈署後方可使用)

The result of "sudo ./strace -f -o ostree.strace -s 1000 ostree admin unlock" is: 704 execve("/usr/bin/ostree", ["ostree", "admin", "unlock"], 0x7fd3f0d048 /* 13 vars */) = 0 704 brk(NULL) = 0x558aafb000...

@dbnicholson Just FYI, the dir /var/tmp/ostree-unlock-ovl.23AWQW is correctly created, as well as the subfolders /var/tmp/ostree-unlock-ovl.23AWQW/work/work and /var/tmp/ostree-unlock-ovl.23AWQW/upper I also tried manually mount an overlay on /usr and it works: mount...

> Can you run `strace` again with `-f`? The mounting happens in a forked child here: > > ``` > clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fa98ed0f0) = 719 > wait4(719, [{WIFEXITED(s) && WEXITSTATUS(s)...

> Sorry, you already did that. Hmm, earlier there's an `unshare(CLONE_NEWNS)` that would cause a new mount namespace to be used. The mount would then not be happening in the...

> I think that the admin builtin is applying the mount namespace too aggressively at https://github.com/ostreedev/ostree/blob/main/src/ostree/ot-main.c#L629. I'm going to do a quick test with that and see if I reproduce...

$ findmnt -R -o+PROPAGATION / TARGET SOURCE FSTYPE OPTIONS PROPAGATION / /dev/mmcblk0p8[/ostree/deploy/jammy/deploy/b2398419401a7fd9f2743e4bc58bcf70c09c8a28d0be1b28e9eae20b359a1046.0] │ ext4 rw,relatime private ├─/sysroot /dev/mmcblk0p8 ext4 rw,relatime private │ └─/sysroot/dev devtmpfs devtmpfs rw,relatime,size=4096k,nr_inodes=131072,mode=755 private ├─/boot /dev/mmcblk0p8[/boot] ext4...

> Ok, I think that's why you're seeing this issue and not me. Your `/` is private whereas mine is shared. When a new mount namespace is created, the new...

> systemd seems to [mount `/` shared](https://github.com/systemd/systemd/blob/08970485003c25ce2c4adfaeea2d58558d311d42/src/shared/mount-setup.c#L539) and `ostree-remount` [agrees](https://github.com/ostreedev/ostree/blob/635a0df124c610f4abc1ccfe3f1dbcee7a0f3cd6/src/switchroot/ostree-remount.c#L90). Finally, I have found the problem. It's because my rootfs is generated by exporting a container from Docker. At first,...

Thank you for your work on tiny-AES-c. @kokke Here's another comparison about CCM and GCM https://crypto.stackexchange.com/questions/24095/aes-gcm-vs-other-encryption-modes-in-embedded-environment-for-network-traffic I think CCM is a better than GCM on MCU applications. This is because...