Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/1128437/?format=api
https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookjail_index/zh_CN/?format=api", "source": [ "/usr/src/sys/ufs/ufs/ufs_vnops.c:\nstatic int\nufs_setattr(ap)\n ...\n{\n ...\n if (!priv_check_cred(cred, PRIV_VFS_SYSFLAGS, 0)) {\n if (ip->i_flags\n & (SF_NOUNLINK | SF_IMMUTABLE | SF_APPEND)) {\n error = securelevel_gt(cred, 0);\n if (error)\n return (error);\n }\n ...\n }\n}\n/usr/src/sys/kern/kern_priv.c\nint\npriv_check_cred(struct ucred *cred, int priv, int flags)\n{\n ...\n error = prison_priv_check(cred, priv);\n if (error)\n return (error);\n ...\n}\n/usr/src/sys/kern/kern_jail.c\nint\nprison_priv_check(struct ucred *cred, int priv)\n{\n ...\n switch (priv) {\n ...\n case PRIV_VFS_SYSFLAGS:\n if (jail_chflags_allowed)\n return (0);\n else\n return (EPERM);\n ...\n }\n ...\n}\n" ], "previous_source": "", "target": [ "" ], "id_hash": -5355022326809956027, "content_hash": -5355022326809956027, "location": "documentation/content/en/books/arch-handbook/jail/_index.adoc:528", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 92, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 80, "source_unit": "https://translate-dev.freebsd.org/api/units/1127792/?format=api", "priority": 100, "id": 1128437, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookjail_index/zh_CN/?checksum=35af2390de34f145", "url": "https://translate-dev.freebsd.org/api/units/1128437/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:14:27.292224Z" }{ "translation": "