You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
The AF_ALG sockets with the type skcipher, as crypto/algif_skcipher.c of Linux, for ecb(aes), cbc(aes), ctr(aes) and xts(aes) of rk-crypto. A sendmsg gives the operation with ALG_SET_OP and the IV with ALG_SET_IV in control messages, and adds the data to the queue. A recv encrypts or decrypts the data of the queue in blocks. With MSG_MORE, the operation continues in the next send, and the IV goes from one recv to the next. libcryptsetup uses these sockets to open a LUKS2 key slot without dm-crypt (#541).
The getdents call of x86_64, with the records of the old format linux_dirent, as filldir of Linux. The readdir test of the AppArmor regression tests uses it (#540).
AppArmor checks the path operations, as the path hooks of lsm.c of Linux: a create, a mkdir, a mknod, a symbolic link, a hard link, a rename, an unlink, an rmdir, a truncate, a chmod, a chown and a stat. The VFS has the hooks path_*, inode_getattr and file_truncate of Linux, at the places where Linux calls them (#540).
The expressions numgen and hash of nf_tables, as nft_numgen.c and nft_hash.c of Linux, and more keys of meta, as nft_meta.c: priority, pkttype, cpu, iifgroup, oifgroup, random, iifkind, oifkind, time, day, hour, sdif and sdifname. A rule sets meta priority and meta pkttype too. A packet now has a priority and a type, as skb->priority and skb->pkt_type. meta iif and meta iifname of a packet with no device give 0 and "", as in Linux (#542).
The expression payload of nf_tables writes the packet, as nft_payload_set_eval of Linux, with the checksums of IP, of the transport header and of SCTP. The expression queue, as nft_queue.c of Linux, gives the packet to its queue (#542).